aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2014-11-04 21:08:10 -0600
committerTom Marshall <tdm@cyngn.com>2015-11-25 15:35:22 -0800
commitabc5d0bf19c2864a12e79dcec95c82359d0a2d96 (patch)
treea1e1ad45b55761e9023dcfbaee060780894992a0
parent869661171a7101864793dad4e25d3f6e662e25eb (diff)
downloadbootable_recovery-abc5d0bf19c2864a12e79dcec95c82359d0a2d96.zip
bootable_recovery-abc5d0bf19c2864a12e79dcec95c82359d0a2d96.tar.gz
bootable_recovery-abc5d0bf19c2864a12e79dcec95c82359d0a2d96.tar.bz2
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 6b8177b..b9bdd32 100644
--- a/Android.mk
+++ b/Android.mk
@@ -157,6 +157,10 @@ RECOVERY_TOOLS := \
LOCAL_POST_INSTALL_CMD := \
$(hide) $(foreach t,$(RECOVERY_TOOLS),ln -sf recovery $(TARGET_RECOVERY_ROOT_OUT)/sbin/$(t);)
+ifneq ($(TARGET_RECOVERY_DEVICE_MODULES),)
+ LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_RECOVERY_DEVICE_MODULES)
+endif
+
include $(BUILD_EXECUTABLE)
# Run toybox-instlist and generate the rest of the symlinks