mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 20:56:33 +00:00
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
This commit is contained in:
parent
1cd10a135d
commit
61b502794e
@ -1,8 +1,10 @@
|
|||||||
config BR2_PACKAGE_GDB_ARCH_SUPPORTS
|
config BR2_PACKAGE_GDB_ARCH_SUPPORTS
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
|
||||||
depends on !BR2_bfin
|
depends on !BR2_bfin
|
||||||
depends on !BR2_nios2
|
depends on !BR2_nios2
|
||||||
|
depends on !BR2_or1k
|
||||||
|
|
||||||
comment "gdb/gdbserver needs a toolchain w/ threads, threads debug"
|
comment "gdb/gdbserver needs a toolchain w/ threads, threads debug"
|
||||||
depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
|
||||||
|
@ -6,7 +6,9 @@ config BR2_PACKAGE_HOST_GDB
|
|||||||
# allow to build a cross-gdb, as the one of the external
|
# allow to build a cross-gdb, as the one of the external
|
||||||
# toolchain should be used.
|
# toolchain should be used.
|
||||||
depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
|
depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
|
||||||
|
depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
|
||||||
depends on !BR2_nios2
|
depends on !BR2_nios2
|
||||||
|
depends on !BR2_or1k
|
||||||
help
|
help
|
||||||
Build a cross gdb that runs on the host machine and debugs
|
Build a cross gdb that runs on the host machine and debugs
|
||||||
programs running on the target. It requires 'gdbserver'
|
programs running on the target. It requires 'gdbserver'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user