recovery: 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
diff --git a/Android.mk b/Android.mk
index d727ca2..9f77866 100644
--- a/Android.mk
+++ b/Android.mk
@@ -70,6 +70,10 @@
LOCAL_REQUIRED_MODULES += recovery-refresh
endif
+ifneq ($(TARGET_RECOVERY_DEVICE_MODULES),)
+ LOCAL_REQUIRED_MODULES += $(TARGET_RECOVERY_DEVICE_MODULES)
+endif
+
include $(BUILD_PHONY_PACKAGE)
include \