Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] export ARCH and CROSS_COMPILE for the post build script
@ 2012-10-18  6:17 Thierry Bultel
  2012-10-18 13:38 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Thierry Bultel @ 2012-10-18  6:17 UTC (permalink / raw)
  To: buildroot

Hello,

Could we make the export of PATH and CROSS_COMPILE to the post-build 
script ?
This would be really useful for building an external user application in 
one shot (and I need it in my case).

eg something like this in the top Makefile:

ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
     @$(call MESSAGE,"Executing post-build script")
*ARCH=$(ARCH) CROSS_COMPILE=$(TARGET_CROSS)* 
$(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)
endif

Of course this could be implemented as an option.

What do you think about it ?

Thanks
Thierry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121018/62f707dd/attachment-0001.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-18 19:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18  6:17 [Buildroot] export ARCH and CROSS_COMPILE for the post build script Thierry Bultel
2012-10-18 13:38 ` Thomas Petazzoni
2012-10-18 15:31   ` Thierry Bultel
2012-10-18 17:12     ` Thomas Petazzoni
2012-10-18 19:21       ` Thierry Bultel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox