summaryrefslogtreecommitdiffstats
path: root/make/binutils.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/binutils.mk')
-rw-r--r--make/binutils.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/make/binutils.mk b/make/binutils.mk
index fa754085e..85c9eea32 100644
--- a/make/binutils.mk
+++ b/make/binutils.mk
@@ -9,6 +9,7 @@ BINUTILS_DIR:=$(TOOL_BUILD_DIR)/binutils-2.14.90.0.6
BINUTILS_CAT:=bzcat
BINUTILS_DIR1:=$(TOOL_BUILD_DIR)/binutils-build
+
$(DL_DIR)/$(BINUTILS_SOURCE):
$(WGET) -P $(DL_DIR) $(BINUTILS_SITE)/$(BINUTILS_SOURCE)
@@ -98,6 +99,8 @@ $(STAGING_DIR)/lib/libg.a:
binutils: $(STAGING_DIR)/$(GNU_TARGET_NAME)/bin/ld $(STAGING_DIR)/lib/libg.a
+binutils-source: $(DL_DIR)/$(BINUTILS_SOURCE)
+
binutils-clean:
rm -f $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)*
-$(MAKE) -C $(BINUTILS_DIR1) clean
@@ -198,7 +201,3 @@ binutils_target-clean:
binutils_target-dirclean:
rm -rf $(BINUTILS_DIR2)
-
-
-
-