[Buildroot] SYSROOT_DIR issue with external toolchains
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Dec 14 22:43:40 UTC 2009
Le Mon, 14 Dec 2009 20:13:44 +0100,
Bjørn Forsman <bjorn.forsman at gmail.com> a écrit :
> SYSROOT_DIR=$(shell $(TARGET_CC) -print-sysroot)
>
> Is there any problem with this change?
Yes, it doesn't work with all gcc versions.
I have
http://git.buildroot.net/~tpetazzoni/git/buildroot/commit/?h=multilib-toolchain-fix&id=2907415d82b7d306ca3f1f1ead0bbb0c7f1505c3
in my patch queue. Something I should clean up, test and submit.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list