diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-03 14:07:45 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-11 18:00:48 +0200 |
commit | 1cd10a135ddb647f43e87fb2299e23850c34c475 (patch) | |
tree | e2bffb30cfb16635307231f7d3b92adafc5cb8f8 | |
parent | 868d978e2ef0474af37edc0275c0b5db1ded474c (diff) | |
download | buildroot-1cd10a135ddb647f43e87fb2299e23850c34c475.tar.gz buildroot-1cd10a135ddb647f43e87fb2299e23850c34c475.zip |
gdb: introduce BR2_PACKAGE_GDB_ARCH_SUPPORTS
Before adding more architecture dependencies to gdb, let's introduce a
BR2_PACKAGE_GDB_ARCH_SUPPORTS, to avoid duplicating this list of
dependencies between the Config.in comment and the main Config.in
option.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v2:
- None
Changes since v1:
- None
-rw-r--r-- | package/gdb/Config.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/package/gdb/Config.in b/package/gdb/Config.in index 026cdeaa80..3acc6ef996 100644 --- a/package/gdb/Config.in +++ b/package/gdb/Config.in @@ -1,11 +1,17 @@ +config BR2_PACKAGE_GDB_ARCH_SUPPORTS + bool + default y + depends on !BR2_bfin + depends on !BR2_nios2 + comment "gdb/gdbserver needs a toolchain w/ threads, threads debug" - depends on !BR2_nios2 && !BR2_bfin + depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS_DEBUG config BR2_PACKAGE_GDB bool "gdb" depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG - depends on !BR2_nios2 && !BR2_bfin + depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS # When the external toolchain gdbserver is copied to the # target, we don't allow building a separate gdbserver. The # one from the external toolchain should be used. |