summaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2015-09-08 10:57:18 -0500
committerMichael Bestas <mikeioannina@gmail.com>2015-10-27 00:45:16 +0200
commit031d729ad25a26f29fda4343e70501a6c6152ba8 (patch)
tree9283f4e0ebce4a2b56216c602d083c8e1ce421ac /core/Makefile
parentead9a5c6c96c7bb30515b1f4d47d87a0a2949592 (diff)
downloadbuild-031d729ad25a26f29fda4343e70501a6c6152ba8.zip
build-031d729ad25a26f29fda4343e70501a6c6152ba8.tar.gz
build-031d729ad25a26f29fda4343e70501a6c6152ba8.tar.bz2
build: Separate commands in recovery foreach loops
The foreach loops output a space separated list, not necessarily one command per line. Separate commands with semicolons. Notably, this fixes an issue with multiple device directories included in TARGET_RECOVERY_DEVICE_DIRS. Change-Id: I5ebdc84ecaaacabaea77b8b752141e2041622480
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Makefile b/core/Makefile
index c9f7588..a3a6bfd 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -951,11 +951,11 @@ define build-recoveryimage-target
$(hide) cp -rf $(recovery_resources_common)/* $(TARGET_RECOVERY_ROOT_OUT)/res
$(hide) cp -f $(recovery_font) $(TARGET_RECOVERY_ROOT_OUT)/res/images/font.png
$(hide) $(foreach item,$(recovery_root_private), \
- cp -rf $(item) $(TARGET_RECOVERY_OUT)/)
+ cp -rf $(item) $(TARGET_RECOVERY_OUT)/;)
$(hide) $(foreach item,$(recovery_resources_private), \
- cp -rf $(item) $(TARGET_RECOVERY_ROOT_OUT)/)
+ cp -rf $(item) $(TARGET_RECOVERY_ROOT_OUT)/;)
$(hide) $(foreach item,$(recovery_fstab), \
- cp -f $(item) $(TARGET_RECOVERY_ROOT_OUT)/etc/recovery.fstab)
+ cp -f $(item) $(TARGET_RECOVERY_ROOT_OUT)/etc/recovery.fstab;)
$(hide) cp $(RECOVERY_INSTALL_OTA_KEYS) $(TARGET_RECOVERY_ROOT_OUT)/res/keys
$(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop) \
> $(TARGET_RECOVERY_ROOT_OUT)/default.prop