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

Commit 7900d165 authored by Dan Pasanen's avatar Dan Pasanen Committed by Steve Kondik
Browse files

releasetools: allow devices to specify a custom make_recovery_patch

Change-Id: I891660c1bf919b369afd4ff496fb6bab85dffe3f
parent 48b3f8e4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1575,7 +1575,11 @@ ifdef BUILD_NO
	$(hide) echo "build_number=$(BUILD_NO)" >> $(zip_root)/META/misc_info.txt
endif
	$(call generate-userimage-prop-dictionary, $(zip_root)/META/misc_info.txt)
ifeq ($(TARGET_RELEASETOOL_MAKE_RECOVERY_PATCH_SCRIPT),)
	$(hide) ./build/tools/releasetools/make_recovery_patch $(zip_root) $(zip_root)
else
	$(hide) $(TARGET_RELEASETOOL_MAKE_RECOVERY_PATCH_SCRIPT) $(zip_root) $(zip_root)
endif
ifdef PRODUCT_DEFAULT_DEV_CERTIFICATE
	$(hide) build/tools/getb64key.py $(PRODUCT_DEFAULT_DEV_CERTIFICATE).x509.pem > $(zip_root)/META/releasekey.txt
else