summaryrefslogtreecommitdiffstats
path: root/rules/gdb.in
blob: 37480b9d344efe745fca7cd610dd7b86e9017bae (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
config BUILD_XGDB
	bool
	prompt "Build Cross GDB"

config BUILD_GDBSERVER
	bool
	prompt "Build gdbserver for target"
	depends on !ARCH_SPARC

comment "building gdbserver static, install libthreads_db on target (see C Library) to enable shared"
	depends on BUILD_GDBSERVER
	depends on !BUILD_GDBSERVER_SHARED

config BUILD_GDBSERVER_SHARED
	bool "Build shared"
	default y
	depends on BUILD_GDBSERVER
	depends on GLIBC_THREAD_DB || UCLIBC_PTHREAD

config BUILD_GDB
	bool
	prompt "Build GDB for target"

comment "building GDB static, install libm on target (see C Library) to enables shared"
	depends on BUILD_GDB
	depends on !BUILD_GDB_SHARED

config BUILD_GDB_SHARED
	bool "Build shared"
	default y
	depends on BUILD_GDB
	depends on GLIBC_LIBM || UCLIBC_M