[Buildroot] [PATCH 1/2] Deprecate the support for the toolchain on target

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Nov 11 22:09:46 UTC 2012


Alex,

On Sat, 10 Nov 2012 23:26:19 +0000, Alex Bradbury wrote:

> If someone took lead on reintroducing this functionality would it be
> accepted? There are at least a couple of cases where installing
> development files are useful:
> * When using buildroot to build a rootfs that is used as a sysroot for
> an external build system

To build a sysroot containing a cross-compiler + header files and
libraries you don't need the support for the toolchain on target.

> * When using e.g. luajit packages which can make use of header files
> to generate bindings (not exploited all that much right now due to
> lack of preprocessor support in luajit)

What do you need the toolchain on target for this? Header files are
available in the toolchain sysroot, i.e in
output/host/usr/<arch-tuple>/sysroot/.

So unless I'm wrong, none of those use-cases require a toolchain on the
target. Or maybe you could provide more details about those use cases
to convince us that having a toolchain on the target is important?

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