From aaef34f8705c79e83d9b822f08210d56ab093e36 Mon Sep 17 00:00:00 2001 From: Ameya Thakur Date: Thu, 9 Apr 2015 13:43:29 -0700 Subject: 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 --- core/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'core/Makefile') 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 -- cgit v1.1