summaryrefslogtreecommitdiff
path: root/toolchain/binutils/binutils.mk
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/binutils/binutils.mk')
-rw-r--r--toolchain/binutils/binutils.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk
index f388295ff..9fd2b3e69 100644
--- a/toolchain/binutils/binutils.mk
+++ b/toolchain/binutils/binutils.mk
@@ -3,12 +3,15 @@
# build binutils for use on the host system
#
#############################################################
-BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION)))
-#"))
+BINUTILS_VERSION:=$(subst ",,$(BR2_BINUTILS_VERSION))
+#")
EXTRA_BINUTILS_CONFIG_OPTIONS=$(strip $(subst ",, $(BR2_EXTRA_BINUTILS_CONFIG_OPTIONS)))
#"))
BINUTILS_SITE:=$(BR2_KERNEL_MIRROR)/linux/devel/binutils
+ifeq ($(BINUTILS_VERSION),2.19)
+BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
+endif
ifeq ($(BINUTILS_VERSION),2.18)
BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
endif
@@ -143,6 +146,8 @@ binutils-clean:
binutils-dirclean:
rm -rf $(BINUTILS_DIR1)
+binutils-src-dirclean:
+ rm -rf $(BINUTILS_DIR)
#############################################################
#