stuff
directory.
$ wget http://download.berlios.de/bitbake/bitbake-1.12.0.tar.gz $ tar xvzf bitbake-1.12.0.tar.gz $ ln -s bitbake-1.12.0 bitbake
$ git clone git://git.openembedded.org/openembedded openembeddedMake sure to call the directory where you will clone the GIT source
openembedded
. This name will be used in the following procedure and in the site.conf
configuration file.
Then create a local branch based on OpenEmbedded 2011.03-maintenance
branch:
$ cd openembedded $ git checkout -b 2011.03-mybranch origin/2011.03-maintenance $ cd ..
|
|||||||
$ wget ftp://ftp.linux4sam.org/pub/oe/linux4sam_9n12_m2/oe_at91sam.tar.bz $ tar xvzf oe_at91sam.tar.bzThis archive contains the configuration files, recipes that will overload the original ones from the OpenEmbedded project. The
oe_env.sh
script will allow you to setup local configuration variables needed for your rootfs to build.
oe_at91sam/conf/local.conf
. This configuration file will overload the openembedded/conf/local.conf
one.
Read comments in it as it will bring you valuable information and allow you to adapt it to your own environment and building host (directory structure for example). Choose the proper machine type: we will use at91sam9n12ek
for this setup:
MACHINE ?= "at91sam9n12ek"
oe_env.sh
script:
$ source ./oe_env.shThen begin building the distribution with a little set of packages:
$ bitbake base-imageEven a minimal image will require a big amount of time because of the cross-toolchain building process. The qtdemo images are built using the following recipes:
$ bitbake qt4e-at91sam9n12ek-image
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Microchip and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries.
Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.