# HG changeset patch # User Christophe Lincoln # Date 1336597501 -7200 # Node ID 38fc81ba44de53feac55264446ea73f7b1f07019 # Parent 1f0ff5d5fdd8e5394c55b5a54a94c62ec02649f4 cross: improve doc diff -r 1f0ff5d5fdd8 -r 38fc81ba44de README --- a/README Wed May 09 22:41:21 2012 +0200 +++ b/README Wed May 09 23:05:01 2012 +0200 @@ -85,7 +85,7 @@ * commits : List of packages of the last commit check * cooklist : Cooklist for unbuilt packages or custom commands * cooknotes : All the notes added with 'cooker -n "My note" - * installed* : Lists used to compare installed packages before and after + * installed* : Lists used to compare installed packages before and after a package is cooked so we can remove them The Cooker web interface can by highly customized through the CSS style and via @@ -111,6 +111,14 @@ # cookiso gen --flavors=base --version=cooking +Cross +------------------------------------------------------------------------------- +See : doc/cross.txt +Istall: make install-cross +Usage : cross usage +Howto : cross howto + + Toolchain -------------------------------------------------------------------------------- To rebuild the full SliTaz toolchain at once - cook and the Cooker will use the diff -r 1f0ff5d5fdd8 -r 38fc81ba44de doc/cross.txt --- a/doc/cross.txt Wed May 09 22:41:21 2012 +0200 +++ b/doc/cross.txt Wed May 09 23:05:01 2012 +0200 @@ -18,20 +18,26 @@ When building a cross toolchain it's better to understand what is a linker or or C compiler such as GCC. The configure option --target is used by 'cross' to build cross-tools. When the toolchain is build on - your machine you can then build packages with cook and the wok. Here - is commands used to create a chroot (use last tazdev): + your machine you can then build packages with cook and the wok. Cross + use by default the same source tarball's than cook by path can by + changed via the config file. Configuration is: cross.conf. Here is a + cmdline howto: + Create a chroot (use last tazdev) + --------------------------------- # tazdev gen-chroot --arch=arm # tazdev chroot - --> Clone cookutils to get last cook and cross + Clone cookutils to get last cook and cross + ------------------------------------------ # tazpkg -gi mercurial # tazpkg -gi make # cd && hg clone http://hg.slitaz.org/cookutils # cd cookutils # make install-cross - --> Now setup the build environment and compile a cross toolchain: + Setup the build environment and compile a cross toolchain + ------------------------------------------------------------- # cook setup # cook arm-setup # mkdir -p /home/slitaz/cross @@ -41,7 +47,8 @@ # cross check-env --install # cross compile - --> Test the cross tools + Test the cross toolchain + ------------------------ # cross testsuite AUTHOR