cookutils view cross.conf @ rev 426
cook: install build deps in cross environment root if we cross compiling
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 19 23:42:58 2012 +0200 (2012-05-19) |
parents | be4cdf2006f3 |
children | 5492820f7f9f |
line source
1 # SliTaz Cross Toolchain configuration file
2 #
4 # Main settings
5 ARCH=arm
6 BUILD_SYSTEM=i486-slitaz-linux
7 TARGET=$ARCH-slitaz-linux-gnueabi
8 WORK=/home/slitaz/cross
9 SRC=/home/slitaz/src
10 PREFIX=/usr/cross/$ARCH
12 # Sysroot settings. If sysroot is used PREFIX will be set to /usr.
13 # SliTaz set sysroot to point to the directory of the cross toolchain
14 # Example: SYSROOT="/usr/$TARGET"
15 SYSROOT=""
17 # Cross-tools versions
18 BINUTILS_VERSION="2.22"
19 LINUX_VERSION="3.2.14"
20 GLIBC_VERSION="2.13"
21 GCC_VERSION="4.6.3"
22 BUSYBOX_VERSION="1.20.0"
24 # Cross-tools tarballs
25 BINUTILS_TARBALL="binutils-$BINUTILS_VERSION.tar.bz2"
26 LINUX_TARBALL="linux-$LINUX_VERSION.tar.bz2"
27 GLIBC_TARBALL="glibc-$GLIBC_VERSION.tar.bz2"
28 GCC_TARBALL="gcc-$GCC_VERSION.tar.bz2"
29 BUSYBOX_TARBALL="busybox-$BUSYBOX_VERSION.tar.bz2"
31 # Cross tools urls
32 BINUTILS_WGET="http://ftp.gnu.org/gnu/binutils/$BINUTILS_TARBALL"
33 LINUX_WGET="http://www.kernel.org/pub/linux/kernel/v3.x/$LINUX_TARBALL"
34 GLIBC_WGET="http://ftp.gnu.org/gnu/libc/$GLIBC_TARBALL"
35 GCC_WGET="http://ftp.gnu.org/gnu/gcc/gcc-$GCC_VERSION/$GCC_TARBALL"
36 BUSYBOX_WGET="http://busybox.net/downloads/$BUSYBOX_TARBALL"
38 # Peer package configure arguments
39 # x86_64: BINUTILS_ARGS="--disable-multilib --enable-64-bit-bfd"
40 BINUTILS_ARGS="--enable-shared"
41 GLIBC_ARGS="--enable-add-ons"
42 GCC_STATIC_ARGS="--enable-languages=c"
43 GCC_FINAL_ARGS="--enable-languages=c,c++"
45 # List of packages installed in chroot by cook or the Cooker setup.
46 SETUP_PKGS="slitaz-toolchain zlib-dev bzip2 aufs-utils aufs"