Merge "Only call make_recovery_patch when BUILDING_SYSTEM_IMAGE."

am: b455273444

Change-Id: I7eb9f6686af9750e9960de66f954087f4551416f
This commit is contained in:
Daniel Norman 2019-03-25 16:25:20 -07:00 committed by android-build-merger
commit 7100e93233

View file

@ -4016,8 +4016,10 @@ ifdef BOARD_BPT_DISK_SIZE
endif
$(call generate-userimage-prop-dictionary, $(zip_root)/META/misc_info.txt)
ifneq ($(INSTALLED_RECOVERYIMAGE_TARGET),)
ifdef BUILDING_SYSTEM_IMAGE
$(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH MKBOOTIMG=$(MKBOOTIMG) \
build/make/tools/releasetools/make_recovery_patch $(zip_root) $(zip_root)
endif # BUILDING_SYSTEM_IMAGE
endif
ifeq ($(AB_OTA_UPDATER),true)
@# When using the A/B updater, include the updater config files in the zip.