summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/binutils/Makefile.inc6
-rw-r--r--toolchain/gcc/Makefile30
-rw-r--r--toolchain/musl/Makefile.inc2
3 files changed, 15 insertions, 23 deletions
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 8e1392bed..06d6a8321 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -14,21 +14,21 @@ ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_23_ARC),y)
# https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/tree/arc-2.23-tls
PKG_VERSION:= 2.23
PKG_RELEASE:= 1
-PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
+PKG_MD5SUM:= d93bc027e259b00e91810d563575b54f
PKG_SITES:= http://www.openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-arc.tar.xz
endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_22),y)
PKG_VERSION:= 2.22
PKG_RELEASE:= 1
-PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
+PKG_MD5SUM:= 8b3ad7090e3989810943aa19103fdb83
PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_20_1),y)
PKG_VERSION:= 2.20.1
PKG_RELEASE:= 1
-PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
+PKG_MD5SUM:= eccf0f9bc62864b29329e3302c88a228
PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index dc59bfd35..ccf0b4b69 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -126,28 +126,20 @@ GCC_CONFOPTS+= --with-fpu=$(ADK_TARGET_FPU)
endif
endif
-ifeq ($(ADK_CPU_ARMV5TE),y)
-GCC_CONFOPTS+= --with-arch=armv5te
-endif
-
-ifeq ($(ADK_CPU_ARMV6),y)
-GCC_CONFOPTS+= --with-arch=armv6
-endif
-
-ifeq ($(ADK_CPU_ARMV7A),y)
-GCC_CONFOPTS+= --with-arch=armv7-a
-endif
-
ifeq ($(ADK_CPU_ARM926EJ_S),y)
-GCC_CONFOPTS+= --with-arch=armv5te --with-tune=arm926ej-s
+GCC_CONFOPTS+= --with-cpu=arm926ej-s
endif
ifeq ($(ADK_CPU_ARM1176JZF_S),y)
-GCC_CONFOPTS+= --with-arch=armv6 --with-tune=arm1176jzf-s
+GCC_CONFOPTS+= --with-cpu=arm1176jzf-s
+endif
+
+ifeq ($(ADK_CPU_CORTEX_M3),y)
+GCC_CONFOPTS+= --with-cpu=cortex-m3 --with-mode=thumb
endif
ifeq ($(ADK_CPU_CORTEX_A9),y)
-GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9
+GCC_CONFOPTS+= --with-cpu=cortex-a9
endif
ifeq ($(ADK_CPU_SPARC_V9),y)
@@ -202,8 +194,8 @@ endif
$(SED) '/k prot/agcc_cv_libc_provides_ssp=yes' $(WRKBUILD)/gcc/configure
cd $(GCC_BUILD_DIR_MINIMAL); \
PATH='$(TARGET_PATH)' \
- CFLAGS="-O0 -g0" \
- CXXFLAGS="-O0 -g0" \
+ CFLAGS="-O0 -g0 -fomit-frame-pointer" \
+ CXXFLAGS="-O0 -g0 -fomit-frame-pointer" \
$(WRKBUILD)/configure \
${GCC_CONFOPTS} \
--enable-languages=c \
@@ -224,8 +216,8 @@ $(GCC_BUILD_DIR_INITIAL)/.configured:
mkdir -p $(GCC_BUILD_DIR_INITIAL)
cd $(GCC_BUILD_DIR_INITIAL); \
PATH='$(TARGET_PATH)' \
- CFLAGS="-O0 -g0" \
- CXXFLAGS="-O0 -g0" \
+ CFLAGS="-O0 -g0 -fomit-frame-pointer" \
+ CXXFLAGS="-O0 -g0 -fomit-frame-pointer" \
$(WRKBUILD)/configure \
${GCC_CONFOPTS} \
${GCC_FINAL_CONFOPTS} \
diff --git a/toolchain/musl/Makefile.inc b/toolchain/musl/Makefile.inc
index 9b0fb88b8..12fc5aee5 100644
--- a/toolchain/musl/Makefile.inc
+++ b/toolchain/musl/Makefile.inc
@@ -10,5 +10,5 @@ PKG_VERSION:= $(ADK_LIBC_VERSION)
PKG_SITES:= http://www.musl-libc.org/releases/
endif
PKG_RELEASE:= 1
-PKG_MD5SUM:= f18f3bdbe088438cd64a5313c19a7312
+PKG_MD5SUM:= 94f8aa9dab80229fed68991bb9984cc5
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz