[oe] Poky SDK generation changes

Richard Purdie richard at openedhand.com
Sat Sep 26 14:54:56 UTC 2009


On Thu, 2009-09-24 at 12:49 -0700, Tom Rini wrote:
> This all sounds pretty good.  My first concern is where does MACHINE
> fit into this stuff?

MACHINE changes the target of the SDK so it is taken into account.

>   My second is, is it possible to do something like:
> $ SDK_ARCH="i586-linux" MACHINE=machine1 bitbake my-sdk-target
> $ SDK_ARCH="i586-mingw" MACHINE=machine1 bitbake my-sdk-target
> I assume so.  Then after those two, how about:
> $ SDK_ARCH="i586-linux" MACHINE=machine2 bitbake my-sdk-target
> $ SDK_ARCH="i586-mingw" MACHINE=machine2 bitbake my-sdk-target

Yes, this all does exactly what you'd expect. 

I've also added "SDKMACHINE" to Poky too which works like MACHINE with
some predefined .conf files for common targets.

Cheers,

Richard






More information about the Openembedded-devel mailing list