[Buildroot] about TARGET_CROSS

raymond zhao raymond.zhao.ml at gmail.com
Mon Aug 15 13:25:45 UTC 2011


On Sun, Aug 14, 2011 at 2:59 AM, Peter Korsgaard <jacmet at uclibc.org> wrote:
>>>>>> "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
>
I can not submit the package. It is eXtremDB, it is not an free package.



More information about the buildroot mailing list