Skip to content
Snippets Groups Projects
Commit 6a9437f3 authored by Matt Mower's avatar Matt Mower
Browse files

cwm: 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: Id28a41185b332a074cd15bd5c63e26bf284663d5
parent 5d9a7043
No related merge requests found
......@@ -177,6 +177,10 @@ LOCAL_ADDITIONAL_DEPENDENCIES += \
LOCAL_ADDITIONAL_DEPENDENCIES += $(RECOVERY_SYMLINKS) $(RECOVERY_BUSYBOX_SYMLINKS)
ifneq ($(TARGET_RECOVERY_DEVICE_MODULES),)
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_RECOVERY_DEVICE_MODULES)
endif
include $(BUILD_EXECUTABLE)
$(RECOVERY_SYMLINKS): RECOVERY_BINARY := $(LOCAL_MODULE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment