Difference between revisions of "SamyGO OpenEmbedded SVN"


From SamyGO
Jump to: navigation, search
Line 1: Line 1:
You can easily setup cross compile tool chain with SVN and bitbake.
+
You can easily setup cross compile toolchain or/and create rootfs package for external boot.
  
Note: This instruction refer to trunk tree of SVN SamyGO repository and support only LExxB65x, LExxB75x, PSxxB65x TV series.
+
'''Note: This instruction refer to trunk tree of SVN SamyGO repository which support only LExxB65x, LExxB75x, PSxxB65x TV series.'''
  
Pull svn-trunk from
+
If you have installed ''bitbake'' on system, it will conflict with SamyGO bitbake version. So uninstall it if possible.
  
svn co http://samygo.svn.sourceforge.net/svnroot/samygo samygo-svn
+
Pull trunk svn respository from
  
after pull, you can enter samygo-svn/
+
svn co http://samygo.svn.sourceforge.net/svnroot/samygo samygo
 +
 
 +
after pull, you can enter samygo
 
   
 
   
  cd samygo-svn
+
  cd samygo
  
 
  . setup.sh
 
  . setup.sh
  
Setup script generate two files: build/conf/local.conf and build/env.source .
+
Script setup will generate two files: build/conf/local.conf and 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.  
 
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.
 
Now you are in 'build' directory.
  
Than you can build a toolchain with this command:
+
If you like build only a toolchain use this command:
  
 
  bitbake task-samsung-toolchain
 
  bitbake task-samsung-toolchain
  
Bitbake could complain about not installed packages like "help2man", "diffstat". You needed to install them also.
+
If you like build rootfs image use this command:
After compilation of all tools, your environment is ready at your build/tmp directory.
+
 
 +
bitbake samygo-externalboot-image
 +
 
 +
Bitbake could complain about not installed packages like "help2man", "diffstat", "texinfo". You needed to install them also.
 +
 
 +
After buidling all tools, your results are at your build/tmp directory.

Revision as of 14:48, 13 March 2010

You can easily setup cross compile toolchain or/and create rootfs package for external boot.

Note: This instruction refer to trunk tree of SVN SamyGO repository which support only LExxB65x, LExxB75x, PSxxB65x TV series.

If you have installed bitbake on system, it will conflict with SamyGO bitbake version. So uninstall it if possible.

Pull trunk svn respository from

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

after pull, you can enter samygo

cd samygo
. setup.sh

Script setup will generate two files: build/conf/local.conf and 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.

If you like build only a toolchain use this command:

bitbake task-samsung-toolchain

If you like build rootfs image use this command:

bitbake samygo-externalboot-image

Bitbake could complain about not installed packages like "help2man", "diffstat", "texinfo". You needed to install them also.

After buidling all tools, your results are at your build/tmp directory.