Difference between revisions of "SamyGO OpenEmbedded SVN"


From SamyGO
Jump to: navigation, search
m
Line 1: Line 1:
You can easily setup cross compile tool chain with svn and bitbake.
+
You can easily setup cross compile tool chain with SVN and bitbake.
 +
Note: This instruction refer to trunk tree of SVN SamyGO repository.
 +
 
 
Pull svn-trunk from
 
Pull svn-trunk from
  
  svn co https://samygo.svn.sourceforge.net/svnroot/samygo samygo-svn
+
  svn co http://samygo.svn.sourceforge.net/svnroot/samygo samygo-svn
  
 
after pull, you can enter samygo-svn/
 
after pull, you can enter samygo-svn/
Line 8: Line 10:
 
  cd samygo-svn
 
  cd samygo-svn
  
If you compile the tools on parallel, you can edit Makefile-SELP-SamyGO and uncomment this line. integer after -j will indicate your parallel build count.
+
. setup.sh
# echo 'PARALLEL_MAKE = "-j 3"' >> $@
 
 
 
than use make command.
 
 
 
make -f Makefile-SELP-SamyGO
 
  
After enter the directory and setup environment of bitbake
+
Setup script generate two files: build/conf/local.conf and <oe_root>/build/env.source .
 +
If you like compile on parallel first file you can uncomment line "PARALLEL_MAKE" and optionaly change for your needs number thread 'make' will run.
  
cd build
+
Now you are in 'build' directory.
source env.source
 
  
 
Than you can build a toolchain with this command:
 
Than you can build a toolchain with this command:
Line 24: Line 21:
 
  bitbake task-samsung-toolchain
 
  bitbake task-samsung-toolchain
  
Bitbake could complain about not installed packages like "help2man". "diffstat". You needed to install them also.
+
Bitbake could complain about not installed packages like "help2man", "diffstat". You needed to install them also.
After compilation of all tools. Your environment is ready at your build/tmp directory.
+
After compilation of all tools, your environment is ready at your build/tmp directory.

Revision as of 20:22, 5 March 2010

You can easily setup cross compile tool chain with SVN and bitbake. Note: This instruction refer to trunk tree of SVN SamyGO repository.

Pull svn-trunk from

svn co http://samygo.svn.sourceforge.net/svnroot/samygo samygo-svn

after pull, you can enter samygo-svn/

cd samygo-svn
. setup.sh

Setup script generate two files: build/conf/local.conf and <oe_root>/build/env.source . If you like compile on parallel first file you can uncomment line "PARALLEL_MAKE" and optionaly change for your needs number thread 'make' will run.

Now you are in 'build' directory.

Than you can build a toolchain with this command:

bitbake task-samsung-toolchain

Bitbake could complain about not installed packages like "help2man", "diffstat". You needed to install them also. After compilation of all tools, your environment is ready at your build/tmp directory.