[Buildroot] [PATCH 1/1] external-toolchain: fix support
Peter Korsgaard
jacmet at uclibc.org
Sun May 8 19:59:49 UTC 2011
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
Thomas> The recent commit adding the external toolchain wrapper has broken the
Thomas> support for external toolchain. The check_arm_eabi, check_cplusplus
Thomas> and check_cross_compiler_exists functions were using TARGET_CC, which
Thomas> points to the toolchain wrapper, but at the moment those functions are
Thomas> called, the wrapper hasn't been generated yet.
Thomas> We fix this by passing to these functions the path to the C or C++
Thomas> compiler they should use for their tests.
Thanks, committed. I don't quite know how I could have forgotten about
them in the commit. I do remember looking them over when I fixed the
ones in ext-tool.mk.
The commit would have been a bit smaller if we simply replaced TARGET_CC
with TOOLCHAIN_EXTERNAL_CC (and same for C++) as we only use these
macros from ex-tool.mk anyway, but ok.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list