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

Commit 123a7d38 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "build: Don't call make_recovery_patch if there's no recovery."

parents 59c858fc cbc6dc29
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1527,8 +1527,10 @@ ifeq ($(BOARD_USES_FULL_RECOVERY_IMAGE),true)
	$(hide) echo "full_recovery_image=true" >> $(zip_root)/META/misc_info.txt
endif
	$(call generate-userimage-prop-dictionary, $(zip_root)/META/misc_info.txt)
ifneq ($(INSTALLED_RECOVERYIMAGE_TARGET),)
	$(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH MKBOOTIMG=$(MKBOOTIMG) \
	    ./build/tools/releasetools/make_recovery_patch $(zip_root) $(zip_root)
endif
	@# Zip everything up, preserving symlinks
	$(hide) (cd $(zip_root) && zip -qry ../$(notdir $@) .)
	@# Run fs_config on all the system, vendor, boot ramdisk,