Просмотр исходного кода

gdb: add 18.1 to toolchain choice

Waldemar Brodkorb 3 дней назад
Родитель
Сommit
6cd824c8f1
2 измененных файлов с 14 добавлено и 1 удалено
  1. 7 1
      target/config/Config.in.gdb
  2. 7 0
      toolchain/gdb/Makefile.inc

+ 7 - 1
target/config/Config.in.gdb

@@ -21,7 +21,7 @@ choice
 prompt "GNU debugger version"
 depends on ADK_TOOLCHAIN_WITH_GDB
 default ADK_TOOLCHAIN_GDB_H8300_GIT if ADK_TARGET_ARCH_H8300
-default ADK_TOOLCHAIN_GDB_17_2
+default ADK_TOOLCHAIN_GDB_18_1
 
 config ADK_TOOLCHAIN_GDB_GIT
 	bool "git"
@@ -33,6 +33,12 @@ config ADK_TOOLCHAIN_GDB_H8300_GIT
 	bool "h8300-git"
 	depends on ADK_TARGET_ARCH_H8300
 
+config ADK_TOOLCHAIN_GDB_18_1
+	bool "18.1"
+	depends on !ADK_TARGET_ARCH_AVR32
+	depends on !ADK_TARGET_ARCH_H8300
+	depends on !ADK_TARGET_ARCH_NDS32
+
 config ADK_TOOLCHAIN_GDB_17_2
 	bool "17.2"
 	depends on !ADK_TARGET_ARCH_AVR32

+ 7 - 0
toolchain/gdb/Makefile.inc

@@ -2,6 +2,13 @@
 # material, please see the LICENCE file in the top-level directory.
 
 PKG_NAME:=		gdb
+ifeq ($(ADK_TOOLCHAIN_GDB_18_1),y)
+PKG_VERSION:=		18.1
+PKG_RELEASE:=		1
+PKG_HASH:=		fb83623deb238cab91ad17f8a906e2da26d0b4620fb1da43c20a274252e51082
+PKG_SITES:=		${MASTER_SITE_GNU:=gdb/}
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
+endif
 ifeq ($(ADK_TOOLCHAIN_GDB_17_2),y)
 PKG_VERSION:=		17.2
 PKG_RELEASE:=		1