summaryrefslogtreecommitdiffstats
path: root/package/gdb/Config.in.host
diff options
context:
space:
mode:
Diffstat (limited to 'package/gdb/Config.in.host')
-rw-r--r--package/gdb/Config.in.host4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 223c4268c..1e092635a 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -1,5 +1,9 @@
config BR2_PACKAGE_HOST_GDB
bool "Build cross gdb for the host"
+ # When the external toolchain gdbserver is used, we shouldn't
+ # allow to build a cross-gdb, as the one of the external
+ # toolchain should be used.
+ depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
help
Build a cross gdb that runs on the host machine and debugs
programs running on the target. It requires 'gdbserver'