post-build: show each script filename before execution
authorLuca Ceresoli <luca@lucaceresoli.net>
Mon, 8 Apr 2013 06:50:14 +0000 (06:50 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 24 Apr 2013 20:13:29 +0000 (22:13 +0200)
This also simplifies code by removing the ifneq/endif clauses.

[Peter: drop extra space]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile

index 0a91658db1aa561a6fb572b4965536397b114530..e825bcdfaa0aef092e368d1a57a5e61cb9853f6c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -509,11 +509,9 @@ endif
                        $${dir}/ $(TARGET_DIR); \
        done
 
-ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
-       @$(call MESSAGE,"Executing post-build script\(s\)")
        @$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_BUILD_SCRIPT)), \
+               $(call MESSAGE,"Executing post-build script $(s)"); \
                $(s) $(TARGET_DIR)$(sep))
-endif
 
 ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
 LOCALE_WHITELIST=$(BUILD_DIR)/locales.nopurge