[oe] How do I build and SDK?

Denys Dmytriyenko denis at denix.org
Mon Aug 9 20:40:46 UTC 2010


On Mon, Aug 09, 2010 at 09:12:11PM +0100, Chris Tapp wrote:
> I've had a look at the OE manual to try and understand what's needed to 
> build an SDK, but I'm still not sure what I need to do.
>
> I can 'bitbake my-image', giving me a system that boots ok on my target.
>
> What I want to do now is produce an SDK that allows binaries to be built 
> under an x86 hosted linux distro (e.g. ubuntu).
>
> I'm not sure why there is a host and target to configure - I was expecting 
> just to configure something for the platform that will run the SDK - I was 
> thinking that the current OE local.conf should give the information needed 
> to do this.
>
> Is there an easy way to take a system configured to build 'my-image' and 
> produce an SDK from that? I'm running OE under Ubuntu, if that makes things 
> easier.
>
> Failing that, are there any examples I can look at that would give me a 
> more information that what's in the documentation?

Chris,

Please look at "bitbake meta-toolchain" - that produces an SDK. For 
customizing it, see the different examples under meta-toolchain-*.bb

-- 
Denys




More information about the Openembedded-devel mailing list