Skip to contentSkip to conversation

How do I build and SDK?

DISCUSSION Chris Tapp 2 participants 2 messages Aug 9, 2010

lore
Share & tools
lore

Chris Tapp

author
#0 lore raw

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?

Thanks !

Chris

#1 lore raw
Quoted 13 lines · Chris Tapp

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.

Quoted 6 lines

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

Signature · 1 line
Denys