[Buildroot] [pull request v2] Pull request for branch for-2011.02/fix-ccache-support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Dec 6 19:24:20 UTC 2010


On Mon, 06 Dec 2010 16:08:17 +0100
Peter Korsgaard <jacmet at uclibc.org> wrote:

> It afaik got moved in the first place to fix issues with external
> toolchains (E.G. where sysroot is important) and various configure
> scripts not using CFLAGS, so I don't think this will work.

Yes.

> Perhaps we should simply bite the bullet and add simple shell wrappers
> in HOST_DIR / STAGING_DIR for gcc/g++/ld which add --sysroot when
> we're using an external toolchain, and then get rid of --sysroot in
> TARGET_CC.

Maybe. But for the moment, I think doing the little mungling done in
cdrkit.mk that fixes all CMake-based packages is quite reasonable.

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