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
This commit is contained in:
Matt Mower 2014-11-04 21:08:10 -06:00 committed by zlewchan
parent 90e3541d88
commit cc8755d97b

View file

@ -82,5 +82,9 @@ ifeq ($(BOARD_CACHEIMAGE_PARTITION_SIZE),)
LOCAL_REQUIRED_MODULES += recovery-refresh
endif
ifneq ($(TARGET_RECOVERY_DEVICE_MODULES),)
LOCAL_REQUIRED_MODULES += $(TARGET_RECOVERY_DEVICE_MODULES)
endif
include $(BUILD_PHONY_PACKAGE)