# 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.git~binutils-2_24-branch" latest="binutils-gdb.git/linaro_binutils-2_24-branch" # Example of a tarball that extracts to a directory name that differs from # the tarball name. #latest="binutils-linaro-2.23.2-2013.06.tar.bz2" # 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 # binutils configure doesn't work under dash, which is the default shell on some # distributions. default_configure_flags="--enable-lto --enable-plugins --disable-werror CPPFLAGS=-UFORTIFY_SOURCE${default_march:+ --with-arch=${default_march}}" default_makeflags="all-bfd all-gas all-ld all-gprof all-binutils" if test x"${build}" != x"${target}"; then # The sysroot path depends on the C library version. tag="sysroot-${libc_version}-${target}" # FIXME: Check the sysroot path when the libc_version is bogus. # default_configure_flags="${default_configure_flags} --with-sysroot=/opt/linaro/${tag}" default_configure_flags="${default_configure_flags} --with-sysroot=${sysroots}/${target}" # default_configure_flags="${default_configure_flags} --with-sysroot=/" # case ${target} in # aarch64*) # ;; # *) # default_configure_flags="${default_configure_flags} --enable-gold" # ;; # esac else case ${target} in aarch64*|arm*) default_configure_flags="${default_configure_flags} --with-sysroot=/" ;; *) default_configure_flags="${default_configure_flags} --with-sysroot=/" ;; esac fi # This is a list of default flags always supplied to "make check". # --xml produces XML files suitable for importing into a MySQL runtest_flags=""