diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2003-10-23 15:01:19 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2003-10-23 15:01:19 +0000 |
commit | a8ad8f5b6429e82b659f2f11548f68bcb353b00a (patch) | |
tree | 2dbd95fd14619c038a721d6414ada33a256caeb9 /rules/gdb.in | |
parent | 091ef762efcd334a15a7785fbf82e2c393d665ec (diff) | |
download | ptxdist-a8ad8f5b6429e82b659f2f11548f68bcb353b00a.tar.gz ptxdist-a8ad8f5b6429e82b659f2f11548f68bcb353b00a.tar.xz |
* merge with testing-branch
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunk@608 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/gdb.in')
-rw-r--r-- | rules/gdb.in | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/rules/gdb.in b/rules/gdb.in index d084fd51c..37480b9d3 100644 --- a/rules/gdb.in +++ b/rules/gdb.in @@ -1,15 +1,33 @@ config BUILD_XGDB bool prompt "Build Cross GDB" - depends on BUILD_CROSSCHAIN - comment "gdbserver needs libthreads_db on target" + +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" - depends on GLIBC_THREAD_DB -config BUILD_GDBSERVER - bool - prompt "Build gdbserver for target" - depends on BUILD_XGDB && GLIBC_THREAD_DB +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 + |