summaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorAmeya Thakur <ameyat@codeaurora.org>2015-04-09 13:43:29 -0700
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:29:15 -0600
commitaaef34f8705c79e83d9b822f08210d56ab093e36 (patch)
tree9942de91ef9961c8eec8b51daacfb493ddc95e98 /core/Makefile
parentcd021f75199f7e3096bbf0dadfe07d580eda1b24 (diff)
downloadbuild-aaef34f8705c79e83d9b822f08210d56ab093e36.zip
build-aaef34f8705c79e83d9b822f08210d56ab093e36.tar.gz
build-aaef34f8705c79e83d9b822f08210d56ab093e36.tar.bz2
Makefile: Add dependencies for recovery_patch_install
Make sure the recovery_patch_install rule is the last one that is run during the system image creation process. This will ensure the contents of system/ are finalized when the rule is run. Change-Id: I941678aad678504ae6def208134ceed21b5a8a86
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index 6555882..b5ecdb7 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -914,7 +914,13 @@ recovery_patch_path := $(call intermediates-dir-for,PACKAGING,recovery_patch)
ota_temp_root := $(PRODUCT_OUT)/ota_temp
$(RECOVERY_PATCH_INSTALL): PRIVATE_RECOVERY_API_VERSION := $(RECOVERY_API_VERSION)
$(RECOVERY_PATCH_INSTALL): PRIVATE_RECOVERY_FSTAB_VERSION := $(RECOVERY_FSTAB_VERSION)
-$(RECOVERY_PATCH_INSTALL): $(INSTALLED_RECOVERYIMAGE_TARGET) $(RECOVERY_FROM_BOOT_PATCH)
+$(RECOVERY_PATCH_INSTALL): $(INSTALLED_RECOVERYIMAGE_TARGET) \
+ $(RECOVERY_FROM_BOOT_PATCH) \
+ $(ALL_PREBUILT) \
+ $(ALL_COPIED_HEADERS) \
+ $(ALL_GENERATED_SOURCES) \
+ $(ALL_DEFAULT_INSTALLED_MODULES) \
+ $(PDK_FUSION_SYSIMG_FILES)
@echo "Installing recovery patch to system partition"
$(hide) mkdir -p $(ota_temp_root)
$(hide) mkdir -p $(ota_temp_root)/BOOT