OpenEmbedded-Core: Difference between revisions
(Modified references to "poky-init-build-env" to "oe-init-build-env" in line with fa6176219b. Fixed a typo.) |
(Minimal image name is now "core-image-minimal" rather than "poky-image-minimal") |
||
Line 28: | Line 28: | ||
</pre> | </pre> | ||
A good simple place to start is "bitbake | A good simple place to start is "bitbake core-image-minimal". This will run through a simple build and do basic system sanity checks. If your system needs additional software installed, or other environment settings it will tell you what is needed. |
Revision as of 14:15, 10 May 2011
The OpenEmbedded-Core is a base layer, of recipes, classes and associated files that is meant to be common among many different Open Embedded derived systems. While not all systems will use every piece of the OpenEmbedded-Core, it will provide a self contained example that can be used to prove basic functionality.
Getting Started
1) Download the repository
git clone git://git.openembedded.org/openembedded-core oe-core cd oe-core git clone git://git.openembedded.org/bitbake bitbake
2) Setup the environment, and build directory
. ./oe-init-build-env [<build directory>]
The optional build directory may be specified, otherwise it is assumed you want to use the directory named "build".
3) First time configuration
The first time you run oe-init-build-env, it will setup the directory for you. You should at least review the settings within the conf/local.conf file.
4) Build something
bitbake <rule>
A good simple place to start is "bitbake core-image-minimal". This will run through a simple build and do basic system sanity checks. If your system needs additional software installed, or other environment settings it will tell you what is needed.