summaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-29 09:38:20 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-29 16:04:38 +0200
commitd328fef63c7fb3b499a05e4b6cb7c32b795881ea (patch)
treee49440a969a295de3e1ad7ac517e59846902894f /toolchain/gdb/Config.in
parentece1f4225ce2af0a274943753d9c2e7ced5d3262 (diff)
downloadbuildroot-novena-d328fef63c7fb3b499a05e4b6cb7c32b795881ea.tar.gz
buildroot-novena-d328fef63c7fb3b499a05e4b6cb7c32b795881ea.zip
gdb: disallow GDB_HOST on external toolchain builds
The cross-gdb is supposed to be part of the external toolchain, so Buildroot does not need to build it. Moreover, GDB_HOST build currently fail with: ln -snf ../../bin/arm-unknown-linux-gnueabi-gdb \ /home/test/outputs/test-48/staging/usr/arm-unknown-linux-gnueabi/bin/gdb ln: creating symbolic link `/home/test/outputs/test-48/staging/usr/arm-unknown-linux-gnueabi/bin/gdb': No such file or directory And even worse: they overwrite the cross-gdb of the external toolchain! Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain/gdb/Config.in')
-rw-r--r--toolchain/gdb/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/gdb/Config.in b/toolchain/gdb/Config.in
index 09701c75e..edd8715f1 100644
--- a/toolchain/gdb/Config.in
+++ b/toolchain/gdb/Config.in
@@ -18,6 +18,9 @@ config BR2_PACKAGE_GDB_SERVER
config BR2_PACKAGE_GDB_HOST
bool "Build gdb for the Host"
+ # cross-gdb is supposed to be part of the external
+ # toolchain. And the build currently fails.
+ depends on !BR2_TOOLCHAIN_EXTERNAL
help
Build gdb to run on the host to debug programs run on the target.