summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-02-08 15:03:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-02-08 15:06:02 +0100
commit3b8dd9d35a6f814142c829b096d0df06150672f7 (patch)
treee3aba69f5f3a9528a00b79b3284b0189622750a9
parent779e4681ef960f220bb54ad87bb3fc44a60af0e8 (diff)
kvx: update gcc/binutils/linux
-rw-r--r--mk/vars.mk2
-rw-r--r--target/config/Config.in.cpu1
-rw-r--r--target/kvx/kernel/generic-kvx2
-rw-r--r--target/linux/Config.in.kernelversion2
-rw-r--r--toolchain/binutils/Makefile.inc2
-rw-r--r--toolchain/gcc/Makefile.inc2
6 files changed, 6 insertions, 5 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index c7fcba604..02cc07a42 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -142,7 +142,7 @@ TARGET_CFLAGS+= -mcpu=$(ADK_TARGET_GCC_CPU)
TARGET_CXXFLAGS+= -mcpu=$(ADK_TARGET_GCC_CPU)
endif
-# for archiectures where gcc --with-arch matches -march=
+# for architectures where gcc --with-arch matches -march=
ifneq ($(ADK_TARGET_GCC_ARCH),)
TARGET_CFLAGS+= -march=$(ADK_TARGET_GCC_ARCH)
TARGET_CXXFLAGS+= -march=$(ADK_TARGET_GCC_ARCH)
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index da8a57a7c..a21af7db4 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -2002,6 +2002,7 @@ config ADK_TARGET_GCC_ARCH
default "rv32imac" if ADK_TARGET_CPU_RISCV32_RV32IMAC
default "rv64imafdc" if ADK_TARGET_CPU_RISCV64_RV64IMAFDC
default "rv64imac" if ADK_TARGET_CPU_RISCV64_RV64IMAC
+ default "kv3-1" if ADK_TARGET_ARCH_KVX
# for CFLAGS/CXXFLAGS if gcc does not support --with-cpu
config ADK_TARGET_CPU_FLAGS
diff --git a/target/kvx/kernel/generic-kvx b/target/kvx/kernel/generic-kvx
index 14b29e5dc..111b3e704 100644
--- a/target/kvx/kernel/generic-kvx
+++ b/target/kvx/kernel/generic-kvx
@@ -1 +1 @@
-CONFIG_KVX=y
+CONFIG_KVX_SUBARCH_KV3_1=y
diff --git a/target/linux/Config.in.kernelversion b/target/linux/Config.in.kernelversion
index 61259ac56..7b91ed822 100644
--- a/target/linux/Config.in.kernelversion
+++ b/target/linux/Config.in.kernelversion
@@ -179,7 +179,7 @@ config ADK_TARGET_LINUX_KERNEL_GIT_REPO_NAME
config ADK_TARGET_LINUX_KERNEL_GIT
string "git version"
depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
- default "6b6e8a4d2dfd4c48f108963578712d4caef4513d" if ADK_TARGET_ARCH_KVX
+ default "b02c139d3608c8ae87f5398a3a29854f6df7a041" if ADK_TARGET_ARCH_KVX
default "b6a72d383cf0d4c9c448c1f4e5e8d496ea5c1fd8" if ADK_TARGET_ARCH_LM32
default "ec0dcf3064b8ba99f226438214407fcea9870f76" if ADK_TARGET_BOARD_BCM28XX
default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 872d35279..af3495093 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -24,7 +24,7 @@ PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/b
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_KVX),y)
-PKG_VERSION:= c5e8437af055869c8666a1c1e5a391d9af5be0c0
+PKG_VERSION:= 782547a4e2bdf1308728032853678ca69bb154ea
PKG_GIT:= hash
PKG_RELEASE:= 1
PKG_SITES:= https://github.com/kalray/gdb-binutils.git
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index e29218b42..1edf4ebbf 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -66,7 +66,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
LIBSTDCXXVER:= 19
endif
ifeq ($(ADK_TOOLCHAIN_GCC_KVX),y)
-PKG_VERSION:= 50bb1935d20f383c3d37c98b681f63de873688b2
+PKG_VERSION:= f98c17b1e78dd3a3da45c0ac1af7b105edf2bf66
PKG_GIT:= hash
PKG_SITES:= https://github.com/kalray/gcc.git
PKG_RELEASE:= 1