Commit 6d90a69f authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Peter Korsgaard
Browse files

post-image: show each script filename before execution



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

Signed-off-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Tested-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 1b9b1685
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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)