summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/binutils/Makefile.inc14
-rw-r--r--toolchain/gcc/Makefile2
-rw-r--r--toolchain/uclibc/Makefile.inc12
3 files changed, 18 insertions, 10 deletions
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 464f959cb..8e1392bed 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -4,8 +4,8 @@
PKG_NAME:= binutils
ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_24),y)
PKG_VERSION:= 2.24
-PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
PKG_RELEASE:= 1
+PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
@@ -13,22 +13,28 @@ 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
-PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
PKG_RELEASE:= 1
+PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
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_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
PKG_RELEASE:= 1
+PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
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_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
PKG_RELEASE:= 1
+PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
+ifeq ($(ADK_TOOLCHAIN_BINUTILS_GIT),y)
+PKG_VERSION:= git
+PKG_RELEASE:= 1
+PKG_REPO:= git://sourceware.org/git/binutils-gdb.git
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 39fc3efc9..dc59bfd35 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -282,9 +282,11 @@ ifeq ($(ADK_TARGET_USE_GOLD),y)
(cd $(TOOLCHAIN_DIR)/usr/bin && \
ln -sf $(GNU_TARGET_NAME)-ld.gold $(GNU_TARGET_NAME)-ld)
else
+ifeq (ADK_TOOLCHAIN_BINUTILS_2_20_1),)
(cd $(TOOLCHAIN_DIR)/usr/bin && \
ln -sf $(GNU_TARGET_NAME)-ld.bfd $(GNU_TARGET_NAME)-ld)
endif
+endif
cd $(STAGING_TARGET_DIR)/lib && \
ln -sf libstdc++.so.6.0.$(LIBSTDCXXVER) libstdc++.so && \
ln -sf libstdc++.so.6.0.$(LIBSTDCXXVER) libstdc++.so.6
diff --git a/toolchain/uclibc/Makefile.inc b/toolchain/uclibc/Makefile.inc
index c58903290..2b043758a 100644
--- a/toolchain/uclibc/Makefile.inc
+++ b/toolchain/uclibc/Makefile.inc
@@ -3,13 +3,13 @@
PKG_NAME:= uClibc
ifeq ($(ADK_LIBC_VERSION),git)
-PKG_VERSION:= 0.9.34-git
-PKG_REPO:= git://git.uclibc.org/uClibc.git
+PKG_VERSION:= 0.9.34-git
+PKG_RELEASE:= 1
+PKG_REPO:= git://git.uclibc.org/uClibc.git
else
-PKG_VERSION:= $(ADK_LIBC_VERSION)
-PKG_SITES:= http://downloads.uclibc-ng.org/
-endif
+PKG_VERSION:= $(ADK_LIBC_VERSION)
PKG_RELEASE:= 1
-PKG_MD5SUM:= 73e6fe215648d02246f4d195b25fb17e
PKG_SITES:= http://uclibc.org/downloads/
+endif
+PKG_MD5SUM:= 73e6fe215648d02246f4d195b25fb17e
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.xz