On 05/16/2011 01:44 PM, Phil Blundell wrote:
> I'm mildly curious as to what Montavista can have done that requires a
> custom version of ar. But the patch looks fine to me anyway.
I don't know whether this change came from Montavista or from the vendor
supplying the kernel sources. Anyway, someone changed CROSS_COMPILE to
override the environment, thus using a prefix different from the
toolchain built by OE.
CROSS_COMPILE = $(shell if [ -f .mvl_cross_compile ]; then \
cat .mvl_cross_compile; \
fi)
With the patch applied, the variable CROSS_COMPILE isn't used anymore,
because all cross-tools are specified on the command line in the same
manner.
Another way to solve this problem could have been to set CROSS_COMPILE
on the command line instead of in the environment. I haven't tried that.
I could create an updated patch if this was preferred.
Regards,
Andreas
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel