forked from openkylin/platform_build
am d88eaf02: am 123a7d38: Merge "build: Don\'t call make_recovery_patch if there\'s no recovery."
* commit 'd88eaf025543c3e5360fb22f1d142133621b117e': build: Don't call make_recovery_patch if there's no recovery.
This commit is contained in:
commit
42a2b83c53
|
@ -1555,8 +1555,10 @@ ifeq ($(BOARD_USES_FULL_RECOVERY_IMAGE),true)
|
||||||
$(hide) echo "full_recovery_image=true" >> $(zip_root)/META/misc_info.txt
|
$(hide) echo "full_recovery_image=true" >> $(zip_root)/META/misc_info.txt
|
||||||
endif
|
endif
|
||||||
$(call generate-userimage-prop-dictionary, $(zip_root)/META/misc_info.txt)
|
$(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) \
|
$(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH MKBOOTIMG=$(MKBOOTIMG) \
|
||||||
./build/tools/releasetools/make_recovery_patch $(zip_root) $(zip_root)
|
./build/tools/releasetools/make_recovery_patch $(zip_root) $(zip_root)
|
||||||
|
endif
|
||||||
@# Zip everything up, preserving symlinks
|
@# Zip everything up, preserving symlinks
|
||||||
$(hide) (cd $(zip_root) && zip -qry ../$(notdir $@) .)
|
$(hide) (cd $(zip_root) && zip -qry ../$(notdir $@) .)
|
||||||
@# Run fs_config on all the system, vendor, boot ramdisk,
|
@# Run fs_config on all the system, vendor, boot ramdisk,
|
||||||
|
|
Loading…
Reference in New Issue