aboutsummaryrefslogtreecommitdiff
path: root/config/gdb.conf
blob: e332488ec916207c743f3f7c0f5a4fd13cf76067 (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
# This is a list of packages that must be installed on the build machine
depends=""

latest="binutils-gdb.git~gdb-7.11-branch"

# 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-gnu-ld --enable-plugins --enable-tui --with-pkgversion=Linaro_GDB-${release:-${date}} --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof"
default_makeflags=""

# Currently the GDB server can only be built native.
if test x"${build}" != x"${target}"; then
  case ${host} in
       *-mingw32*)
            # For mingw, we have to specify where our mingw version of python is.
	    default_configure_flags="--with-python=${local_snapshots}/infrastructure/python-2.7.4-mingw32 `echo ${default_configure_flags} | sed -e 's:--enable-tui::'` CFLAGS=-I${local_builds}/destdir/${host}/usr/include LDFLAGS=-L${local_builds}/destdir/${host}/usr/lib"
            ;;
       *linux*)
            default_configure_flags="${default_configure_flags} --disable-sim --with-python=yes"
            ;;
    esac
    case ${target} in
	arm*-linux-gnueabi)
	    #default_configure_flags="${default_configure_flags} --enable-gdbserver"
	    ;;
	arm*-*elf)
	    default_configure_flags="${default_configure_flags} --enable-sim"
	    ;;
	aarch64*-*elf)
	    default_configure_flags="${default_configure_flags} --enable-sim"
	    ;;
	aarch64*-linux-gnu)
	    #default_configure_flags="${default_configure_flags} --enable-gdbserver"
	    ;;
	*)
	    ;;
    esac   
fi

# This is a list of default flags always supplied to "make check".
runtest_flags=""