Changes between Version 2 and Version 3 of Setting_up_OpenEmbedded

Show
Ignore:
Timestamp:
12/13/09 03:22:29 (3 years ago)
Author:
einstein
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Setting_up_OpenEmbedded

    v2 v3  
    1 This project uses !OpenEmbedded as its build platform. This tutorial is based on [http://wiki.openembedded.net/index.php/Getting_started the OpenEmbedded.net Getting Started page], refer to it if anything on this page is not clear. 
     1This project uses !OpenEmbedded (OE) as its build platform. This tutorial is based on [http://wiki.openembedded.net/index.php/Getting_started the OpenEmbedded.net Getting Started page], refer to it if anything on this page is not clear. 
    22 
    3 (to be continued). 
     31. Create an empty folder, in this tutorial we use <tt>/usr/src/openaos</tt>. This folder will contain your entire OE environment. 
     4 
     5 mkdir -p /usr/src/openaos 
     6 cd /usr/src/openaos 
     7 
     82. Download and install BitBake in this new folder. 
     9 
     10 wget http://download.berlios.de/bitbake/bitbake-1.8.18.tar.gz 
     11 tar -xzf bitbake-1.8.18.tar.gz bitbake 
     12 mv bitbake-1.8.18 bitbake 
     13 
     143. Checkout the OpenEmbedded git repository. 
     15 
     16 git clone git://git.openembedded.org/openembedded 
     17 
     18Once in a while, run an update on your git repository: 
     19 
     20 cd /usr/src/openaos/openembedded 
     21 git pull 
     22 
     234. Setup the environment before compiling. You will need to run these commands every time you use your OE environment, so we recommend you create a script <tt>/usr/src/openaos/setup_env</tt>. 
     24 
     25 export OETREE=/home/einstein/Desktop/oe-openaos 
     26 export BBPATH=${OETREE}/:${OETREE}/build/:${OETREE}/openembedded/ 
     27 export PATH=${OETREE}/bitbake/bin:$PATH 
     28 export LANG=C 
     29 export BB_ENV_EXTRAWHITE="MACHINE DISTRO OETREE ANGSTROM_MODE ANGSTROMLIBC LIBC" 
     30 cd ${OETREE}/build/ 
     31 
     32And run it with <tt>source setup_env</tt> 
     33 
     345. Checkout our OE overlay. 
     35 
     36 (to be continued!)