Merge "Makefile: Clean up the condition for RECOVERY_RESOURCE_ZIP."
This commit is contained in:
commit
9d4dbe09ed
|
@ -982,7 +982,7 @@ $(INSTALLED_RECOVERYIMAGE_TARGET): $(MKBOOTFS) $(MKBOOTIMG) $(MINIGZIP) \
|
|||
$(RECOVERY_INSTALL_OTA_KEYS)
|
||||
$(call build-recoveryimage-target, $@)
|
||||
|
||||
ifeq (,$(filter true, $(BOARD_USES_FULL_RECOVERY_IMAGE) $(BOARD_USES_RECOVERY_AS_BOOT)))
|
||||
ifdef RECOVERY_RESOURCE_ZIP
|
||||
$(RECOVERY_RESOURCE_ZIP): $(INSTALLED_RECOVERYIMAGE_TARGET) | $(ZIPTIME)
|
||||
$(hide) mkdir -p $(dir $@)
|
||||
$(hide) find $(TARGET_RECOVERY_ROOT_OUT)/res -type f | sort | zip -0qrjX $@ -@
|
||||
|
|
Loading…
Reference in New Issue