aboutsummaryrefslogtreecommitdiff
path: root/config/binutils.conf
blob: c064dae116411678e37932852e36271e608eec22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 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-gdb.git/linaro_binutils-2_25-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${override_arch:+ --with-arch=${override_arch}} --with-pkgversion=Linaro_Binutils-${release:-${date}} --disable-gprof --disable-gdb --disable-sim --disable-libdecnumber --disable-readline"
default_makeflags=""

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}"
    # The sysroots path already contains the target implicitly since it is set
    # in abe.sh
    default_configure_flags="${default_configure_flags} --with-sysroot=${sysroots}"
#    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=""