summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-11-13 09:55:56 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-11-13 21:32:57 +0100
commit096c185c19d66c6904109b621e14a6ef44c7d9ac (patch)
tree186cb78b04429e16cfbd2dff7a75d4451c9056b1
parent0d2a03cc5a682266e1a00c3eb312dcf089e2323d (diff)
target gdb: depend on thread support
Compiling gdb for the target requires thread support in the C library, otherwise: /home/test/outputs/test-888/toolchain/gdb-7.3.1/gdb/gdb_thread_db.h:37:21: fatal error: pthread.h: No such file or directory Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/gdb/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/gdb/Config.in b/toolchain/gdb/Config.in
index af6e56aac..8a0225530 100644
--- a/toolchain/gdb/Config.in
+++ b/toolchain/gdb/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_GDB
bool "Build gdb debugger for the Target"
select BR2_PACKAGE_NCURSES
depends on BR2_USE_WCHAR
+ depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_sh && !BR2_sh64
help
Build the full gdb debugger to run on the target.