[poky] Library paths for Makefile based recipes

Richard Purdie richard.purdie at linuxfoundation.org
Thu Dec 30 03:21:09 PST 2010


On Tue, 2010-12-28 at 16:58 -0800, Darren Hart wrote:
> Turns out the project Makefile is doing this:
> 
> CC = $(CROSS_COMPILE)gcc
> AR = $(CROSS_COMPILE)ar
> 
> Removing those lines from the Makefile allows the project to build.

You could also set CROSS_COMPILE to the right value (TARGET_PREFIX?) and
things should work. This looks very similar to how we cross compile the
kernel.

Cheers,

Richard




More information about the poky mailing list