post-image: show each script filename before execution

This also simplifies code by removing the ifneq/endif clauses.

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>
This commit is contained in:
Luca Ceresoli 2013-04-08 06:50:15 +00:00 committed by Peter Korsgaard
parent 1b9b168562
commit 6d90a69f6c
1 changed files with 1 additions and 3 deletions

View File

@ -555,11 +555,9 @@ target-generatelocales: host-localedef
endif
target-post-image:
ifneq ($(BR2_ROOTFS_POST_IMAGE_SCRIPT),"")
@$(call MESSAGE,"Executing post-image script\(s\)")
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \
$(call MESSAGE,"Executing post-image script $(s)"); \
$(s) $(BINARIES_DIR)$(sep))
endif
toolchain-eclipse-register:
./support/scripts/eclipse-register-toolchain `readlink -f $(O)` $(notdir $(TARGET_CROSS)) $(BR2_ARCH)