[Buildroot] [PATCH] add pre-build script

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Feb 14 07:56:04 UTC 2013


Dear Spenser Gilliland,

On Wed, 13 Feb 2013 19:04:30 -0600, Spenser Gilliland wrote:

> I have a use case for this.  In Microblaze builds, it would be nice to
> generate optimal cflags from the dts/mhs for use in all software.
> This could be accomplished by a pre script.

Do you have the example of pre-build script that does this? Changing
the CFLAGS requires changing some internal Buildroot make variables, so
I'm not sure how you're doing this from a pre-build script.

Best regards,

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


More information about the buildroot mailing list