OpenEmbedded-Core

From Yocto Project
Revision as of 23:28, 2 March 2011 by Mhatle (talk | contribs)
Jump to navigationJump to search

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.


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

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

. ./poky-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 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

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.