aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2014-11-04 21:08:10 -0600
committerTom Marshall <tdm.code@gmail.com>2017-09-17 15:24:54 +0000
commit6aab7a1d6a88d68278a6874744cefda8f774101e (patch)
treefba42c15f25dd1286f0e8dac05a87668f45d3a11
parentb7fd5f1b5437347b38037b9fb063ca737092906b (diff)
downloadandroid_bootable_recovery-6aab7a1d6a88d68278a6874744cefda8f774101e.tar.gz
android_bootable_recovery-6aab7a1d6a88d68278a6874744cefda8f774101e.tar.bz2
android_bootable_recovery-6aab7a1d6a88d68278a6874744cefda8f774101e.zip
sr: Allow device-specific recovery modules
Provide a means to include device-specific recovery modules that need to be built (i.e. not pre-built). A list of recovery modules can be specified by a device with: TARGET_RECOVERY_DEVICE_MODULES := rec_mod_one rec_mod_two Change-Id: Ibd19a71318863461d472471a4f7cfddfb1b9ae0d
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 182dfa00..dbe5db17 100644
--- a/Android.mk
+++ b/Android.mk
@@ -212,6 +212,10 @@ RECOVERY_TOOLS := \
zip
LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(RECOVERY_TOOLS),ln -sf ${LOCAL_MODULE} $(LOCAL_MODULE_PATH)/$(t);)
+ifneq ($(TARGET_RECOVERY_DEVICE_MODULES),)
+ LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_RECOVERY_DEVICE_MODULES)
+endif
+
include $(BUILD_EXECUTABLE)
# mkshrc