OpenEmbedded-Core: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(Using PRE tag to get a better display of the commands.)
(Content now moved to the OE wiki)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The OpenEmbedded-Core is a base layer, of recipes, classes and associated files that is meant to be common amount 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.
OpenEmbedded-Core is a base layer of recipes, classes and associated files that is meant to be common among many different OpenEmbedded-derived systems and forms the basis of the new structure for OpenEmbedded.


----
See the [http://www.openembedded.org/wiki/OpenEmbedded-Core OpenEmbedded-Core] page on the OpenEmbedded wiki for more information.
 
Getting Started
 
1) Download the repository
<pre>
git clone git://git.openembedded.org/openembedded-core oe-core
cd oe-core
git clone git://git.openembedded.org/bitbake bitbake
</pre>
 
1.5) Temporary workaround (as of 2011-03-02)
 
Edit the file scripts/poky-env-internal
 
Add to the end:
 
export BBFETCH2=True
 
2) Setup the environment, and build directory
<pre>
. ./poky-init-build-env [<build directory>]
</pre>
 
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 poky-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
<pre>
bitbake <rule>
</pre>
 
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.

Latest revision as of 17:07, 3 July 2012

OpenEmbedded-Core is a base layer of recipes, classes and associated files that is meant to be common among many different OpenEmbedded-derived systems and forms the basis of the new structure for OpenEmbedded.

See the OpenEmbedded-Core page on the OpenEmbedded wiki for more information.