Difference between revisions of "OE-Core Standalone Setup"

From KoanSoftware Wiki
Jump to: navigation, search
(Getting started)
(Getting started)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
== Getting started ==
 
== Getting started ==
  
1) Clone the repositories for OE-Core (the core metadata) and BitBake (the build tool):
+
1. Clone the repositories for OE-Core (the core metadata) and BitBake (the build tool):
 
  git clone git://git.openembedded.org/openembedded-core oe-core
 
  git clone git://git.openembedded.org/openembedded-core oe-core
 
  cd oe-core
 
  cd oe-core
 
  git clone git://git.openembedded.org/bitbake bitbake
 
  git clone git://git.openembedded.org/bitbake bitbake
  
2) Set up the environment and build directory:
+
 
 +
2. Set up the environment and build directory:
 
  source ./oe-init-build-env [<build directory>]
 
  source ./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".
 
The optional build directory may be specified, otherwise it is assumed you want to use the directory named "build".
  
3) First time configuration
+
3. First time configuration
 +
 
 +
'''The first time you run oe-init-build-env, it will setup the directory for you and create the configuration files conf/bblayers.conf and conf/local.conf.'''
 +
 
 +
'''You should at least review the settings within the conf/local.conf file.'''
  
The first time you run oe-init-build-env, it will setup the directory for you and create the configuration files conf/bblayers.conf and conf/local.conf. You should at least review the settings within the conf/local.conf file.
 
  
4) Build something:
+
4. Build something:
 
  bitbake <target>
 
  bitbake <target>
 
or  
 
or  
 
  bitbake core-image-minimal
 
  bitbake core-image-minimal

Latest revision as of 10:48, 18 January 2013

OE-Core Standalone Setup

You can read the official [OE-Core Standalone Setup]

[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 for more information.

Getting started

1. Clone the repositories for OE-Core (the core metadata) and BitBake (the build tool):

git clone git://git.openembedded.org/openembedded-core oe-core
cd oe-core
git clone git://git.openembedded.org/bitbake bitbake


2. Set up the environment and build directory:

source ./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 and create the configuration files conf/bblayers.conf and conf/local.conf.

You should at least review the settings within the conf/local.conf file.


4. Build something:

bitbake <target>

or

bitbake core-image-minimal