[Buildroot] [RFC] post-build scripts: limitations, and proposal

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jun 21 06:59:19 UTC 2013


Yann, Thomas,

On Fri, 21 Jun 2013 08:17:05 +0200, Thomas De Schampheleire wrote:

> Instead of passing multiple scripts, you could just pass one wrapper
> post build script, without options. This wrapper would be different in
> your different configurations, and would call all relevant scripts in
> turn. Adding a script for a certain configuration now no longer means
> updating the buildroot configuration, but instead updating the wrapper
> script.

This is absolutely what should be done in Yann's case. There's no need
to make the post-build script mechanism in Buildroot more complicated,
just handle the complexity in our own scripts, it is much more
flexible.

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