OpenEmbedded-Core: Difference between revisions
(fixed spelling) |
(Modified references to "poky-init-build-env" to "oe-init-build-env" in line with fa6176219b. Fixed a typo.) |
||
Line 1: | Line 1: | ||
The OpenEmbedded-Core is a base layer, of recipes, classes and associated files that is meant to be common | 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. | ||
---- | ---- | ||
Line 14: | Line 14: | ||
2) Setup the environment, and build directory | 2) Setup the environment, and build directory | ||
<pre> | <pre> | ||
. ./ | . ./oe-init-build-env [<build directory>] | ||
</pre> | </pre> | ||
Line 21: | Line 21: | ||
3) First time configuration | 3) First time configuration | ||
The first time you run | 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 | 4) Build something |
Revision as of 11:29, 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 poky-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.