omview & community repository

Rod Whitby rod at whitby.id.au
Sun Oct 5 00:47:42 CEST 2008


Tick Chen wrote:
> For OE stuff, 
> you can do this.  
> make sure you have 20Gb+ disk space, and a fast
> computer, with ubuntu or debian (I only tested these two.)
> $ cd ~/;mkdir moko;cd moko;
> $ echo "export OMDIR=\"$HOME/moko\"" > setup-env
> $ echo "export BBPATH=\"${OMDIR}/build:${OMDIR}/openmoko\"" >> setup-env
> $ echo "export PYTHONPATH=\"${OMDIR}/bitbake/libbitbake\"" >> setup-env
> $ echo "export PATH=\"${OMDIR}/bitbake/bin:${PATH}\"" >> setup-env
> $ git clone git://git.openmoko.org/git/openmoko.git openmoko
> $ svn checkout svn://svn.berlios.de/bitbake/branches/bitbake-1.8 
> $ ln -sf bitbake-1.8 bitbake
> $ mkdir -p build/conf; cp local.conf build/conf
> $ pushd openmoko;
> There is a sample local.conf in attached file. 
> 
> Before building stuff you may need to setup the environment. 
> $ cd ~/moko;
> $ source ./setup-env
> $ echo 0 | sudo tee /proc/sys/vm/mmap_min_addr
> 
> To build the whole Om2008.8 series image. (This step is optional)
> $ bitbake openmoko-asu-image
> Leave it for couple of hours, doing your own stuff, or pray.....

or instead of all those manual steps, you can just do:

  wget http://www.rwhitby.net/files/openmoko/Makefile
  make

and use the MokoMakefile to do the setting up for you.  You can still
run bitbake manually after that if you prefer as well ...

-- Rod



More information about the devel mailing list