summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-02-13 00:42:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-02-13 00:42:03 +0100
commit24458376fac338418296439e296064403f479001 (patch)
treefb0c570cc1bc9747ed87c52525a1ce9c97adb2e5
parentfca416596e51e2516bfea297bec145d90a4f3caa (diff)
lm32: use gcc 11.2 for toolchain building
-rw-r--r--target/config/Config.in.compiler5
-rw-r--r--target/config/Config.in.cpu1
-rw-r--r--toolchain/gcc/Makefile.inc18
3 files changed, 6 insertions, 18 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 525161309..ec558b52c 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -15,7 +15,6 @@ depends on ADK_BUILD_COMPILER_GCC
default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_ARCH_ARC
default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
default ADK_TOOLCHAIN_GCC_KVX if ADK_TARGET_ARCH_KVX
-default ADK_TOOLCHAIN_GCC_LM32 if ADK_TARGET_ARCH_LM32
default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_BFIN && ADK_TARGET_BINFMT_FDPIC
default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_ARCH_CRIS # no longer supported
@@ -83,8 +82,4 @@ config ADK_TOOLCHAIN_GCC_KVX
bool "coolidge"
depends on ADK_TARGET_ARCH_KVX
-config ADK_TOOLCHAIN_GCC_LM32
- bool "4.5.4-lm32"
- depends on ADK_TARGET_ARCH_LM32
-
endchoice
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 8ca3034b8..30e35ca93 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -530,6 +530,7 @@ config ADK_TARGET_CPU_KVX
# lm32
config ADK_TARGET_CPU_LM32
bool "lm32"
+ select ADK_TARGET_UCLINUX
depends on ADK_TARGET_ARCH_LM32
# coldfire
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index 1edf4ebbf..5d3318893 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -43,11 +43,11 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
LIBSTDCXXVER:= 23
endif
ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
-PKG_VERSION:= arc-2021.09
-PKG_GIT:= tag
-PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
-PKG_RELEASE:= 1
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+PKG_VERSION:= arc-2021.09
+PKG_GIT:= tag
+PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
+PKG_RELEASE:= 1
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
endif
ifeq ($(ADK_TOOLCHAIN_GCC_AVR32),y)
PKG_VERSION:= 4.4.7
@@ -72,14 +72,6 @@ PKG_SITES:= https://github.com/kalray/gcc.git
PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
endif
-ifeq ($(ADK_TOOLCHAIN_GCC_LM32),y)
-PKG_VERSION:= 4.5.4
-PKG_HASH:= 33fb968907ef7b6c528f6395ba049eb34c4df859bf5aa6c2bc3856268801e078
-PKG_SITES:= https://ftp.gnu.org/gnu/gcc/gcc-$(PKG_VERSION)/
-PKG_RELEASE:= 1
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-LIBSTDCXXVER:= 19
-endif
ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y)
PKG_VERSION:= git
PKG_SITES:= https://github.com/gcc-mirror/gcc.git