diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-30 21:56:45 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-30 21:56:45 +0200 |
commit | 843c9483d71e59d8aa262e2cdfaf2ccf881727b9 (patch) | |
tree | 6bc232a52f7fc36a75df7d71c9e473b41bf060bf | |
parent | ab58cf872f099a4e1bcba9b884cc651719d8e3c9 (diff) |
gdb-host: disable by default to fasten toolchain building
-rw-r--r-- | target/config/Config.in.gdb | 16 | ||||
-rw-r--r-- | toolchain/Makefile | 3 |
2 files changed, 19 insertions, 0 deletions
diff --git a/target/config/Config.in.gdb b/target/config/Config.in.gdb index bbde9df6c..0e5062bb2 100644 --- a/target/config/Config.in.gdb +++ b/target/config/Config.in.gdb @@ -2,6 +2,22 @@ # material, please see the LICENCE file in the top-level directory. choice +prompt "GNU debugger" + +config ADK_TOOLCHAIN_WITHOUT_GDB + bool "disabled" + help + Disable GDB for the host. + +config ADK_TOOLCHAIN_WITH_GDB + bool "enabled" + help + Enable GDB for the host. Version selection will be used + for gdb/gdbserver for the target. + +endchoice + +choice prompt "GNU debugger version" default ADK_TOOLCHAIN_GDB_H8300_GIT if ADK_TARGET_ARCH_H8300 default ADK_TOOLCHAIN_GDB_NDS32 if ADK_TARGET_ARCH_NDS32 diff --git a/toolchain/Makefile b/toolchain/Makefile index 9cafeeda3..0ac3a5dba 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -45,11 +45,14 @@ TARGETS+=elf2flt ELF2FLT:=elf2flt-install endif +ifeq ($(ADK_TOOLCHAIN_WITH_GDB),y) # disable gdb for some architectures ifeq ($(ADK_TARGET_ARCH_ARC)$(ADK_TARGET_ARCH_CR16)$(ADK_TARGET_ARCH_EPIPHANY)$(ADK_TARGET_ARCH_METAG)$(ADK_TARGET_ARCH_NDS32)$(ADK_TARGET_ARCH_OR1K),) TARGETS+=gdb GDB:=gdb-install endif +endif + ifeq (${ADK_PRELINK},y) TARGETS+=prelink-cross endif |