Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!

Difference between revisions of "OE-Core Standalone Setup"

From Openembedded.org
Jump to: navigation, search
(add source when running oe-init-build-env)
(Add a step to check out stable versions)
 
(One intermediate revision by one user not shown)
Line 3: Line 3:
 
== 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), checking out the latest stable branches of each one in turn:
 
<pre>
 
<pre>
 
git clone git://git.openembedded.org/openembedded-core oe-core
 
git clone git://git.openembedded.org/openembedded-core oe-core
Line 10: Line 10:
 
</pre>
 
</pre>
  
2) Set up the environment and build directory:
+
2) Check out the latest stable branches of both OE-Core and BitBake:
 +
<pre>
 +
git checkout dora
 +
cd bitbake
 +
git checkout 1.20
 +
cd ..
 +
</pre>
 +
 
 +
3) Set up the environment and build directory:
 
<pre>
 
<pre>
 
source ./oe-init-build-env [<build directory>]
 
source ./oe-init-build-env [<build directory>]
Line 17: Line 25:
 
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
+
4) 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:
+
5) Build something:
 
<pre>
 
<pre>
 
bitbake <target>
 
bitbake <target>

Latest revision as of 17:28, 24 March 2014

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.

[edit] Getting started

1) Clone the repositories for OE-Core (the core metadata) and BitBake (the build tool), checking out the latest stable branches of each one in turn:

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

2) Check out the latest stable branches of both OE-Core and BitBake:

git checkout dora
cd bitbake
git checkout 1.20
cd ..

3) 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".

4) 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.

5) Build something:

bitbake <target>

A good simple place to start is bitbake core-image-minimal. This will do basic system sanity checks and build a small but practical image. If your system needs additional software installed, or other environment settings it will tell you what is needed.

Personal tools
Namespaces

Variants
Actions
Navigation
Categories
OE services
Toolbox