diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2013-08-16 12:19:51 -0600 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2013-08-16 12:19:51 -0600 |
commit | 20d4874735272054890aa1b57fb39b73486cfd22 (patch) | |
tree | 645ecf2d0db53258c927d93448df71fd30c35540 | |
parent | ce612d0204aadb3c2eeb90036b8ccb047ccc3a3c (diff) |
add static_link flag to move control from the core code to the config file.
-rw-r--r-- | config/binutils.conf | 7 | ||||
-rw-r--r-- | config/cloog-parma.conf | 2 | ||||
-rw-r--r-- | config/cloog-polylib.conf | 2 | ||||
-rw-r--r-- | config/cloog-ppl.conf | 2 | ||||
-rw-r--r-- | config/cloog.conf | 4 | ||||
-rw-r--r-- | config/eglibc.conf | 5 | ||||
-rw-r--r-- | config/gcc.conf | 17 | ||||
-rw-r--r-- | config/glibc.conf | 3 | ||||
-rw-r--r-- | config/gmp.conf | 7 | ||||
-rw-r--r-- | config/infrastructure.conf | 4 | ||||
-rw-r--r-- | config/isl.conf | 3 | ||||
-rw-r--r-- | config/libelf.conf | 5 | ||||
-rw-r--r-- | config/linux.conf | 3 | ||||
-rw-r--r-- | config/llvm.conf | 4 | ||||
-rw-r--r-- | config/mpc.conf | 7 | ||||
-rw-r--r-- | config/mpfr.conf | 8 | ||||
-rw-r--r-- | config/newlib.conf | 6 | ||||
-rw-r--r-- | config/ppl.conf | 3 | ||||
-rw-r--r-- | config/qemu.conf | 3 |
19 files changed, 80 insertions, 15 deletions
diff --git a/config/binutils.conf b/config/binutils.conf index c9ad387b..9757d940 100644 --- a/config/binutils.conf +++ b/config/binutils.conf @@ -1,11 +1,16 @@ # This is a list of packages that must be installed on the build machine depends="" + # This is the latest version of this toolchain component -latest="binutils-linaro-2.23.2-2013.06" +latest="linaro-2.23.2-2013.06" + # This is a file that gets installed that is used to determine if the toolchain # component is already installed. installs="objdump" +# If yes, only static linking will be used +static_link=yes + # This is a list of default flags always supplied to configure # --with-isl=${local_builds} --with-mpc=${local_builds} --with-mpfr=${local_builds} --with-gmp=${local_builds} --with-cloog=no # binutils configure doesn't work under dash, which is the default shell on some diff --git a/config/cloog-parma.conf b/config/cloog-parma.conf index 65980726..8168be88 100644 --- a/config/cloog-parma.conf +++ b/config/cloog-parma.conf @@ -4,4 +4,6 @@ depends="polylib" # This is a list of default flags always supplied to configure default_configure_flags="--with-cloog-prefix=${PWD}/${hostname}/${build}/depends --with-gmp-prefix=${PWD}/${hostname}/${build}/depends --with-ppl-prefix=${PWD}/${hostname}/${build}/depends" +# If yes, only static linking will be used +static_link=yes diff --git a/config/cloog-polylib.conf b/config/cloog-polylib.conf index bb3e4714..389e7bab 100644 --- a/config/cloog-polylib.conf +++ b/config/cloog-polylib.conf @@ -4,4 +4,6 @@ depends="polylib" # This is a list of default flags always supplied to configure default_configure_flags="--with-cloog-prefix=${PWD}/${hostname}/${build}/depends --with-gmp-prefix=${PWD}/${hostname}/${build}/depends --with-polylib-prefix=${PWD}/${hostname}/${build}/depends" +# If yes, only static linking will be used +static_link=yes diff --git a/config/cloog-ppl.conf b/config/cloog-ppl.conf index db93c213..61be745d 100644 --- a/config/cloog-ppl.conf +++ b/config/cloog-ppl.conf @@ -4,4 +4,6 @@ depends="ppl" # This is a list of default flags always supplied to configure default_configure_flags="--with-gmp=${PWD}/${hostname}/${build}/depends --with-ppl=${PWD}/${hostname}/${build}/depends" +# If yes, only static linking will be used +static_link=yes diff --git a/config/cloog.conf b/config/cloog.conf index f50dedfc..3a689c0f 100644 --- a/config/cloog.conf +++ b/config/cloog.conf @@ -3,3 +3,7 @@ depends="ppl" # This is a list of default flags always supplied to configure default_configure_flags="--with-gmp-prefix=${PWD}/${hostname}/${build}/depends --with-isl-prefix=${PWD}/${hostname}/${build}/depends" + +# If yes, only static linking will be used +static_link=yes + diff --git a/config/eglibc.conf b/config/eglibc.conf index 04c3a7de..3d1c423c 100644 --- a/config/eglibc.conf +++ b/config/eglibc.conf @@ -3,11 +3,14 @@ depends="linux" # This is the latest version of this toolchain component -latest="eglibc-linaro-2.17-2013.07-2" +latest="linaro-2.17-2013.07-2" # This is a file that gets installed that is used to determine if the toolchain # component is already installed. installs="libc." +# If yes, only static linking will be used +static_link=no + # This is a list of default flags always supplied to configure default_configure_flags="--disable-profile --without-gd --without-cvs --enable-obsolete-rpc --with-tls --enable-add-ons=nptl,ports --disable-build-nscd --with-headers=${sysroots}/usr/include" diff --git a/config/gcc.conf b/config/gcc.conf index a0653cd7..b6cb7b51 100644 --- a/config/gcc.conf +++ b/config/gcc.conf @@ -1,12 +1,15 @@ # This is a list of other components need to build this component -depends="gmp mpfr mpc libelf linux binutils" +depends="gmp mpfr mpc linux binutils" # This is the latest version of this toolchain component installs="gcc" # This is a file that gets installed that is used to determine if the toolchain # component is already installed. -latest="gcc-linaro-4.8-2013.07-1" +latest="linaro-4.8-2013.07-1" + +# If yes, only static linking will be used +static_link=yes # This is a list of default flags always supplied to configure default_configure_flags="--with-pkgversion=${USER} --with-bugurl=https://bugs.launchpad.net/gcc-linaro --with-mpc=${local_builds} --with-mpfr=${local_builds} --with-gmp=${local_builds} --with-gnu-as --with-gnu-ld --with-system-zlib --enable-languages=c" @@ -66,27 +69,27 @@ if test x"${build}" != x"${target}"; then # Stage 1 is used to build the initial C only compiler, which is used to # compile the C library default_configure_flags="${default_configure_flags} --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=softfp --with-thumb" - library=eglibc + clibrary=eglibc need_qemu=yes ;; arm*-*-linux-gnueabihf) default_configure_flags="${default_configure_flags} --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-thumb" - library=eglibc + clibrary=eglibc need_qemu=yes ;; arm*-*-eabi | aarch64*-*-elf) default_configure_flags="${default_configure_flags} --with-newlib" - library=newlib + clibrary=newlib need_qemu=no ;; aarch64*-*-linux-gnu) default_configure_flags="${default_configure_flags} --with-sysroot=${sysroots}/${target}" # --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/mnt/ci_build/workspace/openembedded-armv8-rootfs/label/oe_persistent_cloud/rootfs/lamp/build/tmp-eglibc/sysroots/genericarmv8 --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=aarch64-oe-linux- --without-local-prefix --enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap --with-system-zlib --with-linker-hash-style=gnu --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --with-sysroot=/ --with-build-sysroot=/mnt/ci_build/workspace/openembedded-armv8-rootfs/label/oe_persistent_cloud/rootfs/lamp/build/tmp-eglibc/sysroots/genericarmv8 --with-native-system-header-dir=/mnt/ci_build/workspace/openembedded-armv8-rootfs/label/oe_persistent_cloud/rootfs/lamp/build/tmp-eglibc/sysroots/genericarmv8/usr/include --with-gxx-include-dir=/usr/include/c++/ --enable-nls --enable-__cxa_atexit --enable-long-long - library=eglibc + clibrary=eglibc need_qemu=no ;; *) - library=eglibc + clibrary=eglibc need_qemu=no ;; esac diff --git a/config/glibc.conf b/config/glibc.conf index dbaa57e9..249b65fa 100644 --- a/config/glibc.conf +++ b/config/glibc.conf @@ -5,3 +5,6 @@ depends="" # This is a list of default flags always supplied to configure default_configure_flags="--with-binutils=${local_builds}" +# If yes, only static linking will be used +static_link=no + diff --git a/config/gmp.conf b/config/gmp.conf index 24fecb4c..c1c7dd5e 100644 --- a/config/gmp.conf +++ b/config/gmp.conf @@ -1,7 +1,9 @@ # This is a list of other components need to build this component depends="" + # This is the latest version of this toolchain component -latest="gmp-5.1.2" +latest="5.1.2" + # This is a file that gets installed that is used to determine if the toolchain # component is already installed. installs="libgmp." @@ -9,3 +11,6 @@ installs="libgmp." # This is a list of default flags always supplied to configure default_configure_flags="--enable-cxx --enable-fft" +# If yes, only static linking will be used +static_link=yes + diff --git a/config/infrastructure.conf b/config/infrastructure.conf index 952c6d95..6f082234 100644 --- a/config/infrastructure.conf +++ b/config/infrastructure.conf @@ -2,3 +2,7 @@ # They are built and installed in the order they are listed. # depends="gmp isl mpfr mpc polylib ppl cloog cloog-parma cloog-polylib" depends="gmp mpfr mpc linux" + +# If yes, only static linking will be used +static_link=yes + diff --git a/config/isl.conf b/config/isl.conf index 94c4bf32..d9db1c7d 100644 --- a/config/isl.conf +++ b/config/isl.conf @@ -4,3 +4,6 @@ depends="gmp" # This is a list of default flags always supplied to configure default_configure_flags="--with-gmp-prefix=${PWD}/${hostname}/${build}/depends" +# If yes, only static linking will be used +static_link=yes + diff --git a/config/libelf.conf b/config/libelf.conf index 4ab1ceb1..a852a08a 100644 --- a/config/libelf.conf +++ b/config/libelf.conf @@ -2,7 +2,7 @@ depends="" # This is the latest version of this toolchain component -latest="libelf-0.8.13" +latest="0.8.13" # This is a file that gets installed that is used to determine if the toolchain # component is already installed. @@ -11,3 +11,6 @@ installs="libelf." # This is a list of default flags always supplied to configure default_configure_flags="" +# If yes, only static linking will be used +static_link=yes + diff --git a/config/linux.conf b/config/linux.conf index bacd19fa..432d26c4 100644 --- a/config/linux.conf +++ b/config/linux.conf @@ -8,8 +8,9 @@ default_configure_flags="headers_install ARCH=arm INSTALL_HDR_PATH=${sysroots}/u # distributions, so we force it to be bash. # This is the latest version of this toolchain component -latest="linux-3.10.2" +latest="3.10.2" # This is a file that gets installed that is used to determine if the toolchain # component is already installed. installs="" + diff --git a/config/llvm.conf b/config/llvm.conf index 37cab709..71c8788b 100644 --- a/config/llvm.conf +++ b/config/llvm.conf @@ -4,3 +4,7 @@ depends="" # This is a list of default flags always supplied to configure default_configure_flags="" + +# If yes, only static linking will be used +static_link=yes + diff --git a/config/mpc.conf b/config/mpc.conf index c8f2e177..a4f8de99 100644 --- a/config/mpc.conf +++ b/config/mpc.conf @@ -1,7 +1,9 @@ # This is a list of other components need to build this component depends="" + # This is the latest version of this toolchain component -latest="mpc-1.0.1" +latest="1.0.1" + # This is a file that gets installed that is used to determine if the toolchain # component is already installed. installs="libmpc." @@ -9,3 +11,6 @@ installs="libmpc." # This is a list of default flags always supplied to configure default_configure_flags="--with-gmp=${local_builds} --with-mpfr=${local_builds}" +# If yes, only static linking will be used +static_link=yes + diff --git a/config/mpfr.conf b/config/mpfr.conf index dbcf3ed1..0aef73ab 100644 --- a/config/mpfr.conf +++ b/config/mpfr.conf @@ -1,10 +1,16 @@ # This is a list of other components need to build this component depends="" + # This is the latest version of this toolchain component -latest="mpfr-3.1.2" +latest="3.1.2" + # This is a file that gets installed that is used to determine if the toolchain # component is already installed. installs="libmpfr." # This is a list of default flags always supplied to configure default_configure_flags="--with-gmp=${local_builds}" + +# If yes, only static linking will be used +static_link=yes + diff --git a/config/newlib.conf b/config/newlib.conf index 4a4713de..96c541c3 100644 --- a/config/newlib.conf +++ b/config/newlib.conf @@ -5,4 +5,8 @@ depends="" default_configure_flags="SHELL=/bin/bash" # binutils configure doesn't work under dash, which is the default shell on some -# distributions, so we force it to be bash.
\ No newline at end of file +# distributions, so we force it to be bash. + +# If yes, only static linking will be used +static_link=yes + diff --git a/config/ppl.conf b/config/ppl.conf index 628fc3a1..6aa8041b 100644 --- a/config/ppl.conf +++ b/config/ppl.conf @@ -4,3 +4,6 @@ depends="gmp" # This is a list of default flags always supplied to configure default_configure_flags="--with-gmp=${PWD}/${hostname}/${build}/depends" +# If yes, only static linking will be used +static_link=yes + diff --git a/config/qemu.conf b/config/qemu.conf index e50fab80..a530f5f8 100644 --- a/config/qemu.conf +++ b/config/qemu.conf @@ -4,3 +4,6 @@ depends="" # This is a list of default flags always supplied to configure default_configure_flags="--target-list=arm-linux-user,armeb-linux-user,arm-softmmu" +# If yes, only static linking will be used +static_link=yes + |