summaryrefslogtreecommitdiffstats
path: root/rules/gdb.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2003-11-17 03:23:25 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2003-11-17 03:23:25 +0000
commitfe400a675696be58988686b1ef0ec3ebde903cd3 (patch)
tree3b53967ee3be0a8dd6f8f4b476837993a3616d44 /rules/gdb.in
parent7a5fd87880dd34f16db696835c7946961ff718fe (diff)
downloadptxdist-fe400a675696be58988686b1ef0ec3ebde903cd3.tar.gz
ptxdist-fe400a675696be58988686b1ef0ec3ebde903cd3.tar.xz
* changed variable names:
removed BUILD_ prefix from varios * updated dependencies * added gdb terminal lib selection (ncurses and termcap) git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunk@775 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/gdb.in')
-rw-r--r--rules/gdb.in43
1 files changed, 26 insertions, 17 deletions
diff --git a/rules/gdb.in b/rules/gdb.in
index 268a83d4c..dd636544b 100644
--- a/rules/gdb.in
+++ b/rules/gdb.in
@@ -1,32 +1,41 @@
-config BUILD_XGDB
- bool
- prompt "Build Cross GDB"
+config XGDB
+ bool "Build Cross GDB"
-config BUILD_GDBSERVER
- bool
- prompt "Build gdbserver for target"
+config GDBSERVER
+ bool "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
+ depends on GDBSERVER
+ depends on !GDBSERVER_SHARED && !(GLIBC_THREAD_DB || UCLIBC_PTHREAD)
-config BUILD_GDBSERVER_SHARED
+config GDBSERVER_SHARED
bool "Build shared"
default y
- depends on BUILD_GDBSERVER
+ depends on GDBSERVER
depends on GLIBC_THREAD_DB || UCLIBC_PTHREAD
-config BUILD_GDB
- bool
- prompt "Build GDB for target"
+config GDB
+ bool "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
+ depends on GDB
+ depends on !GDB_SHARED && ! (GLIBC_LIBM || UCLIBC_M)
-config BUILD_GDB_SHARED
+config GDB_SHARED
bool "Build shared"
default y
- depends on BUILD_GDB
+ depends on GDB
depends on GLIBC_LIBM || UCLIBC_M
+
+choice
+ prompt "Select term library"
+ default GDB_TERMCAP
+ depends on GDB
+
+ config GDB_TERMCAP
+ bool "termcap"
+
+ config GDB_NCURSES
+ bool "ncurses
+endchoice