summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.gcc.choice4
-rw-r--r--toolchain/binutils/Makefile15
-rw-r--r--toolchain/binutils/Makefile.inc8
-rw-r--r--toolchain/gcc/Makefile1
-rw-r--r--toolchain/gcc/Makefile.inc10
-rw-r--r--toolchain/gcc/patches/4.8.3/cflags.patch (renamed from toolchain/gcc/patches/4.8.0/cflags.patch)0
6 files changed, 20 insertions, 18 deletions
diff --git a/target/config/Config.in.gcc.choice b/target/config/Config.in.gcc.choice
index d2b56d9b6..ac909b06a 100644
--- a/target/config/Config.in.gcc.choice
+++ b/target/config/Config.in.gcc.choice
@@ -35,8 +35,8 @@ config ADK_TOOLCHAIN_GCC_4_8_4
depends on !ADK_TARGET_ARCH_TILE
depends on !ADK_TARGET_ARCH_C6X
-config ADK_TOOLCHAIN_GCC_4_8_0_ARC
- bool "4.8.0-arc"
+config ADK_TOOLCHAIN_GCC_4_8_3_ARC
+ bool "4.8.3-arc"
depends on ADK_TARGET_ARCH_ARC
config ADK_TOOLCHAIN_GCC_4_7_4
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 24970feb7..833f0ca97 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -13,13 +13,13 @@ CONFOPTS+= --disable-libssp
endif
ifeq ($(ADK_TOOLCHAIN_WITH_LTO),y)
-CONFOPTS+= --enable-lto
+CONFOPTS+= --enable-lto --enable-plugins
else
-CONFOPTS+= --disable-lto
+CONFOPTS+= --disable-lto --disable-plugins
endif
ifeq ($(ADK_TOOLCHAIN_WITH_GOLD),y)
-CONFOPTS+= --enable-gold
+CONFOPTS+= --enable-gold=default
else
CONFOPTS+= --disable-gold
endif
@@ -56,20 +56,21 @@ endif
--disable-dependency-tracking \
--disable-libtool-lock \
--disable-nls \
- --enable-plugins \
+ --disable-sim \
+ --disable-gdb \
--disable-werror \
--disable-install-libiberty \
${CONFOPTS} \
);
$(MAKE) ${BINUTILS_MAKEOPTS} -C $(WRKBUILD) configure-host
- touch $@
+ @touch $@
$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
$(MAKE) ${BINUTILS_MAKEOPTS} ${BINUTILS_STATIC_MAKEOPTS} -C $(WRKBUILD) all
- touch $@
+ @touch $@
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) install
- touch $@
+ @touch $@
include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index ae6320db0..7df390725 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -17,11 +17,11 @@ PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_23_ARC),y)
-# git commit afcd0783a37c73e09439737a11e0b3183746a652
-# https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/tree/arc-2.23-tls
-PKG_VERSION:= 2.23
+# git commit c4395290b351f76229a326fcc20a1a5da8cf67a1 arc-2.23-dev
+# https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb.git
+PKG_VERSION:= 2.23.2
PKG_RELEASE:= 1
-PKG_HASH:= 12901398ada805926926e39eea84089efad6feabfe148a54a194db36a960f4f4
+PKG_HASH:= cd0e68644d9f28e1d61f83267e4b7ce71038277a7153603fdfa403b233968184
PKG_SITES:= http://www.openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-arc.tar.xz
endif
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 7acf88d5b..6285b2af6 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -42,6 +42,7 @@ GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \
--disable-libmudflap \
--disable-libgomp \
--disable-libcilkrts \
+ --disable-libquadmath-support \
--disable-decimal-float \
--disable-libstdcxx-pch \
--disable-ppl-version-check \
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index e39727f70..802cafa62 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -18,11 +18,11 @@ PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
LIBSTDCXXVER:= 19
endif
-ifeq ($(ADK_TOOLCHAIN_GCC_4_8_0_ARC),y)
-# git commit e9dbcfdba0f42639b3aa9e3b06fe781599eb98fe
-# from https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/tree/arc-4.8-tls
-PKG_VERSION:= 4.8.0
-PKG_HASH:= cbd50f7fa9d6dd4974ff809e1f5791de4a07796bd9fd6f71ed85d17a730a3783
+ifeq ($(ADK_TOOLCHAIN_GCC_4_8_3_ARC),y)
+# git commit 2b0dc74388f22ba98b36f7f57a9cc41aca62e223 arc-4.8-dev
+# from https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
+PKG_VERSION:= 4.8.3
+PKG_HASH:= ca0f6ad111593b6a45d5e94a725d0561dce97e3ef7db38053b96b9eede0dce6b
PKG_SITES:= http://www.openadk.org/distfiles/
PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-arc.tar.xz
diff --git a/toolchain/gcc/patches/4.8.0/cflags.patch b/toolchain/gcc/patches/4.8.3/cflags.patch
index 4f9de8069..4f9de8069 100644
--- a/toolchain/gcc/patches/4.8.0/cflags.patch
+++ b/toolchain/gcc/patches/4.8.3/cflags.patch