summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-03 15:39:38 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-11 18:00:48 +0200
commit61b502794eda3fdd100eea9e8f3d0b78f8fe4151 (patch)
treece3bafce1a7de2c45e35e47751d6f8e38f18d0e8
parent1cd10a135ddb647f43e87fb2299e23850c34c475 (diff)
downloadbuildroot-61b502794eda3fdd100eea9e8f3d0b78f8fe4151.tar.gz
buildroot-61b502794eda3fdd100eea9e8f3d0b78f8fe4151.zip
gdb: not available on ARM noMMU and OpenRISC
Neither gdb nor gdbserver have support for ARM noMMU and OpenRISC, so let's disable gdb on those architectures. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- Changes since v2: - Fixed BR2_openrisc to BR2_or1k in Config.in.host Changes since v1: - Fixed BR2_openrisc to BR2_or1k
-rw-r--r--package/gdb/Config.in2
-rw-r--r--package/gdb/Config.in.host2
2 files changed, 4 insertions, 0 deletions
diff --git a/package/gdb/Config.in b/package/gdb/Config.in
index 3acc6ef996..67ef010920 100644
--- a/package/gdb/Config.in
+++ b/package/gdb/Config.in
@@ -1,8 +1,10 @@
config BR2_PACKAGE_GDB_ARCH_SUPPORTS
bool
default y
+ depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
depends on !BR2_bfin
depends on !BR2_nios2
+ depends on !BR2_or1k
comment "gdb/gdbserver needs a toolchain w/ threads, threads debug"
depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index cd763aa9be..464457e737 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -6,7 +6,9 @@ config BR2_PACKAGE_HOST_GDB
# allow to build a cross-gdb, as the one of the external
# toolchain should be used.
depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
+ depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
depends on !BR2_nios2
+ depends on !BR2_or1k
help
Build a cross gdb that runs on the host machine and debugs
programs running on the target. It requires 'gdbserver'
OpenPOWER on IntegriCloud