cookutils rev 364

cross: improve doc
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 09 23:05:01 2012 +0200 (2012-05-09)
parents 1f0ff5d5fdd8
children dc114cbd0d56
files README doc/cross.txt
line diff
     1.1 --- a/README	Wed May 09 22:41:21 2012 +0200
     1.2 +++ b/README	Wed May 09 23:05:01 2012 +0200
     1.3 @@ -85,7 +85,7 @@
     1.4      * commits    : List of packages of the last commit check
     1.5      * cooklist   : Cooklist for unbuilt packages or custom commands
     1.6      * cooknotes  : All the notes added with 'cooker -n "My note"
     1.7 -    * installed* : Lists used to compare installed packages before and after 
     1.8 +    * installed* : Lists used to compare installed packages before and after
     1.9  		   a package is cooked so we can remove them
    1.10  
    1.11  The Cooker web interface can by highly customized through the CSS style and via
    1.12 @@ -111,6 +111,14 @@
    1.13  # cookiso gen --flavors=base --version=cooking
    1.14  
    1.15  
    1.16 +Cross
    1.17 +-------------------------------------------------------------------------------
    1.18 +See   : doc/cross.txt
    1.19 +Istall: make install-cross
    1.20 +Usage : cross usage
    1.21 +Howto : cross howto
    1.22 +
    1.23 +
    1.24  Toolchain
    1.25  --------------------------------------------------------------------------------
    1.26  To rebuild the full SliTaz toolchain at once - cook and the Cooker will use the
     2.1 --- a/doc/cross.txt	Wed May 09 22:41:21 2012 +0200
     2.2 +++ b/doc/cross.txt	Wed May 09 23:05:01 2012 +0200
     2.3 @@ -18,20 +18,26 @@
     2.4  	When building a cross toolchain it's better to understand what is a
     2.5  	linker or or C compiler such as GCC. The configure option --target is
     2.6  	used by 'cross' to build cross-tools. When the toolchain is build on
     2.7 -	your machine you can then build packages with cook and the wok. Here
     2.8 -	is commands used to create a chroot (use last tazdev):
     2.9 +	your machine you can then build packages with cook and the wok. Cross
    2.10 +	use by default the same source tarball's than cook by path can by
    2.11 +	changed via the config file. Configuration is: cross.conf. Here is a
    2.12 +	cmdline howto:
    2.13  
    2.14 +	Create a chroot (use last tazdev)
    2.15 +	---------------------------------
    2.16  	# tazdev gen-chroot --arch=arm
    2.17  	# tazdev chroot
    2.18  
    2.19 -	--> Clone cookutils to get last cook and cross
    2.20 +	Clone cookutils to get last cook and cross
    2.21 +	------------------------------------------
    2.22  	# tazpkg -gi mercurial
    2.23  	# tazpkg -gi make
    2.24  	# cd && hg clone http://hg.slitaz.org/cookutils
    2.25  	# cd cookutils
    2.26  	# make install-cross
    2.27  
    2.28 -	--> Now setup the build environment and compile a cross toolchain:
    2.29 +	Setup the build environment and compile a cross toolchain
    2.30 +	-------------------------------------------------------------
    2.31  	# cook setup
    2.32  	# cook arm-setup
    2.33  	# mkdir -p /home/slitaz/cross
    2.34 @@ -41,7 +47,8 @@
    2.35  	# cross check-env --install
    2.36  	# cross compile
    2.37  
    2.38 -	--> Test the cross tools
    2.39 +	Test the cross toolchain
    2.40 +	------------------------
    2.41  	# cross testsuite
    2.42  
    2.43  AUTHOR