summaryrefslogtreecommitdiff
path: root/toolchain/binutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-08 06:48:09 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-08 06:48:09 +0100
commit449fb17cc884a21f65f24bb01d2a162c3dbcc5fc (patch)
treee41fe92707d1b438b2bbdabeea41e75a2055d41e /toolchain/binutils
parent2d61c1d309fabe089e4c704a26a39290cf186ce6 (diff)
add support for Synopsys ARCv3
Diffstat (limited to 'toolchain/binutils')
-rw-r--r--toolchain/binutils/Makefile4
-rw-r--r--toolchain/binutils/Makefile.inc7
2 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index c0c61f7b9..63b1080fb 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -28,6 +28,10 @@ else
CONFOPTS+= --disable-gold
endif
+ifeq ($(ADK_TARGET_ARCH_ARC),y)
+CONFOPTS+= --enable-lto --enable-plugins
+endif
+
ifeq ($(ADK_TARGET_ARCH_X86_64)$(ADK_TARGET_CPU_CF),)
CONFOPTS+= --disable-multilib
else
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 134878d7e..633e03450 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -51,6 +51,13 @@ PKG_RELEASE:= 1
PKG_SITES:= https://github.com/kalray/gdb-binutils.git
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
endif
+ifeq ($(ADK_TOOLCHAIN_BINUTILS_ARC),y)
+PKG_VERSION:= arc-2023.09
+PKG_GIT:= tag
+PKG_RELEASE:= 1
+PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb.git
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_AVR32),y)
PKG_VERSION:= 2.20.1
PKG_RELEASE:= 1