summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@sagemcom.com>2012-11-17 13:01:22 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-17 17:23:59 +0100
commitdbf4978e6b1b24973cb7fbf9be636dda3ae67862 (patch)
tree536d8c102f8563cee639454a5c2990b8b3d4b2a4 /Makefile
parent27abfbb4513bae931151778b5aa0783ca94ba0cc (diff)
downloadbuildroot-novena-dbf4978e6b1b24973cb7fbf9be636dda3ae67862.tar.gz
buildroot-novena-dbf4978e6b1b24973cb7fbf9be636dda3ae67862.zip
Allow to run severals post build scripts instead of only one
Using severals post build scripts is usefull to share script between severals boards/projects. [Peter: fix trailing spaces in Config.in] Signed-off-by: Philippe Reynes <philippe.reynes@sagemcom.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3e7d520af..760249955 100644
--- a/Makefile
+++ b/Makefile
@@ -470,8 +470,9 @@ endif
) > $(TARGET_DIR)/etc/os-release
ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
- @$(call MESSAGE,"Executing post-build script")
- $(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)
+ @$(call MESSAGE,"Executing post-build script\(s\)")
+ @$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_BUILD_SCRIPT)), \
+ $(s) $(TARGET_DIR)$(sep))
endif
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)