aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrint E. Kriebel <bekit@cyngn.com>2014-11-18 21:41:00 (GMT)
committerBrint E. Kriebel <bekit@cyngn.com>2014-11-18 21:41:00 (GMT)
commit0106bd1fa17596bd35c3fdb7e82952690982682e (patch)
tree68a6931150b2e45baf53ca824803732ecfbbdeec
parentcaee911a4858dbdfed66cc40f030b28c217ccd2f (diff)
parentd559aacd7d2b4e6dc162f3d8489a00a9bd92f23a (diff)
downloadandroid_build-stable/cm-11.0.zip
android_build-stable/cm-11.0.tar.gz
android_build-stable/cm-11.0.tar.bz2
-rw-r--r--core/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 76c1b5e..312a3c1 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -694,7 +694,12 @@ recovery_binary := $(call intermediates-dir-for,EXECUTABLES,recovery)/recovery
recovery_resources_common := $(call project-path-for,recovery)/res
recovery_resources_extra := $(call project-path-for,recovery)/res-$(TARGET_RECOVERY_SCREEN_WIDTH)
recovery_resources_private := $(strip $(wildcard $(TARGET_DEVICE_DIR)/recovery/res))
+ifneq ($(TARGET_RECOVERY_DEVICE_DIRS),)
+recovery_root_private := $(strip \
+ $(foreach d,$(TARGET_RECOVERY_DEVICE_DIRS), $(wildcard $(d)/recovery/root)))
+else
recovery_root_private := $(strip $(wildcard $(TARGET_DEVICE_DIR)/recovery/root))
+endif
recovery_resource_deps := $(shell find $(recovery_resources_common) $(recovery_resources_extra) \
$(recovery_resources_private) $(recovery_root_private) -type f)
ifneq ($(TARGET_RECOVERY_FSTAB),)