diff options
author | Matt Mower <mowerm@gmail.com> | 2015-09-08 10:57:18 -0500 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2015-10-27 00:45:16 +0200 |
commit | 031d729ad25a26f29fda4343e70501a6c6152ba8 (patch) | |
tree | 9283f4e0ebce4a2b56216c602d083c8e1ce421ac /core/Makefile | |
parent | ead9a5c6c96c7bb30515b1f4d47d87a0a2949592 (diff) | |
download | build-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/Makefile | 6 |
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 |