[Buildroot] [PATCH v8 08/10] external-toolchain: check if a buildroot SDK has already been relocated

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 21 08:05:26 UTC 2017


Hello,

On Fri, 21 Jul 2017 09:44:00 +0200, Wolfgang Grandegger wrote:

> > "make sdk" will definitely create just the toolchain if what you have
> > in your configuration is... just the toolchain, which is exactly how I
> > build Buildroot toolchains, such as the ones used by the autobuilders
> > or on toolchains.free-electrons.com.
> > 
> > Doing "make toolchain" doesn't work for this use case, because you
> > definitely want the RPATH sanitization of host binaries done in "make
> > sdk".
> > 
> > Again, I think this additional check in the external toolchain code is
> > useless. For a SDK to be usable as an external toolchain, it has to be
> > a SDK that contains *just* a toolchain and *nothing* else. If its
> > sysroot is polluted with additional libraries than the C library, it
> > cannot be used as an external toolchain. And therefore, the
> > relocate-sdk procedure is useless, because there's nothing to relocate
> > in an SDK that is just a toolchain.  
> 
> OK. I see. Then I will drop this patch.

Let's see if Arnout agrees with my reasoning. Quite often he points me
at details I have missed :-)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list