[Buildroot] about TARGET_CROSS

Peter Korsgaard jacmet at uclibc.org
Sun Aug 14 06:59:17 UTC 2011


>>>>> "raymond" == raymond zhao <raymond.zhao.ml at gmail.com> writes:

 raymond> Hi,
 raymond> There is a variable named TARGET_CROSS in the Makefile.in under
 raymond> buildroot/package directory. It is used for lots of package build
 raymond> command. The problem is that it end with "-". Some packages add that
 raymond> "-" itself in their own building system. These kind of packages will
 raymond> complain that it can not find the compiler, for instance,
 raymond> powerpc-unknown-linux-gnu--gcc. Please note that there are two "-"
 raymond> before gcc. Use makefile string functions to strip out the last "-" is
 raymond> not easy. So I suggest we add another variable named
 raymond> TARGET_CROSS_STRIP, which is another version of TARGET_CROSS without
 raymond> the last "-".
 raymond> Here is the modification. I did not use patch format since it is very
 raymond> simple modification.

I have no problem with that, but what packages are we talking about?

Please submit this change together with the package(s) which needs it.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list