[Buildroot] SYSROOT_DIR issue with external toolchains

Bjørn Forsman bjorn.forsman at gmail.com
Tue Dec 15 08:31:05 UTC 2009


2009/12/14 Thomas Petazzoni <thomas.petazzoni at free-electrons.com>:
> 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 was afraid so.

> 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.

Your patch is exactly what I want:-) Thanks!

Best regards,
Bjørn Forsman



More information about the buildroot mailing list