Skip to contentSkip to conversation

Allow to run severals post build scripts instead of only one

PATCH Superseded Philippe Reynes 2 participants 2 messages Jul 9, 2012 Kbuild

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Makefile +2 -1
index b80477f..56833da 100644
@@ -449,7 +449,8 @@ endif
 
 ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
 	@$(call MESSAGE,"Executing post-build script")
-	$(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)
+	@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_BUILD_SCRIPT)), \
+		$(s) $(TARGET_DIR);)
 endif
 
 ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
Signature · 23 lines
1.7.1


#
" Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caract?re priv?. S'ils ne vous sont
pas destin?s, nous vous signalons qu'il est strictement interdit de les
divulguer, de les reproduire ou d'en utiliser de quelque mani?re que ce
soit le contenu. Si ce message vous a ?t? transmis par erreur, merci d'en
informer l'exp?diteur et de supprimer imm?diatement de votre syst?me
informatique ce courriel ainsi que tous les documents qui y sont attach?s."


                               ******

" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system."
#
#1 lore raw

PATCH 1/1 Allow to run severals post build scripts instead of only one

Le Mon, 9 Jul 2012 09:20:07 +0200,
Philippe Reynes <[email protected]> a ?crit :

Quoted 4 lines

Using severals post build scripts is usefull to share script between severals boards/projects.

I'm fine with this, but I'd like the help text of the BR2_ROOTFS_POST_BUILD_SCRIPT configuration option to be updated.

Thomas Petazzoni

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com