Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit b6513fa7 authored by Dan Pasanen's avatar Dan Pasanen Committed by Michael Bestas
Browse files

releasetools: allow devices to specify a custom make_recovery_patch

Change-Id: I891660c1bf919b369afd4ff496fb6bab85dffe3f
parent 67d8bb7c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1898,8 +1898,13 @@ ifeq ($(BOARD_USES_FULL_RECOVERY_IMAGE),true)
endif
	$(call generate-userimage-prop-dictionary, $(zip_root)/META/misc_info.txt)
ifneq ($(INSTALLED_RECOVERYIMAGE_TARGET),)
ifeq ($(TARGET_RELEASETOOL_MAKE_RECOVERY_PATCH_SCRIPT),)
	$(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH MKBOOTIMG=$(MKBOOTIMG) \
	    ./build/tools/releasetools/make_recovery_patch $(zip_root) $(zip_root)
else
	$(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH MKBOOTIMG=$(MKBOOTIMG) \
	    $(TARGET_RELEASETOOL_MAKE_RECOVERY_PATCH_SCRIPT) $(zip_root) $(zip_root)
endif
endif
ifeq ($(AB_OTA_UPDATER),true)
	@# When using the A/B updater, include the updater config files in the zip.