From: Dave H. <dhy...@gm...> - 2010-12-01 00:22:09
|
Hi Mathias, On Tue, Nov 30, 2010 at 9:37 AM, ScottEllis <sco...@gm...> wrote: > > The OE file layout changed over the summer. > > Besides the cross -> sysroots change, the build system reference > 'x86_64'-linux > is also new. If you built on a 32-bit system it would be 'i686'-linux. > > Something like this would be more robust: > > $(OVEROTOP)/sysroots/`uname -m`-linux/usr/armv7a/bin/... That looks good. The use of CROSS_COMPILE uses ?= which means that if the calling environment defines CROSS_COMPILE (i.e. OE/bitbake) then the one provided will be used. The CROSS_COMPILE is only used when building things in standalone mode (i.e. not from within OE/bitbake). I edit it as needed... -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ |