X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/07afff1eaa3517077df3dd46dc6f75f859d60804..3dd2665c70d2d36ae1e43121678d8fa39f901876:/toolchain/binutils/Makefile?ds=inline diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 2a1c728db..c161370e9 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -5,8 +5,7 @@ include $(TOPDIR)/rules.mk # build binutils for use on the host system # ############################################################# -BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION))) -#" +BINUTILS_VERSION:=$(strip $(subst ",, $(CONFIG_BINUTILS_VERSION)))#")) BINUTILS_SITE:=http://www.fr.kernel.org/pub/linux/devel/binutils \ http://www.fi.kernel.org/pub/linux/devel/binutils \ @@ -23,18 +22,6 @@ BINUTILS_STABLE_SITE:=http://ftp.gnu.org/gnu/binutils/ \ ifeq ($(BINUTILS_VERSION),2.16.1) BINUTILS_SITE:=$(BINUTILS_STABLE_SITE) endif -ifeq ($(BINUTILS_VERSION),2.16) -BINUTILS_SITE:=$(BINUTILS_STABLE_SITE) -endif -ifeq ($(BINUTILS_VERSION),2.15) -BINUTILS_SITE:=$(BINUTILS_STABLE_SITE) -endif -ifeq ($(BINUTILS_VERSION),2.14) -BINUTILS_SITE:=$(BINUTILS_STABLE_SITE) -endif -ifeq ($(BINUTILS_VERSION),2.13) -BINUTILS_SITE:=$(BINUTILS_STABLE_SITE) -endif BINUTILS_SOURCE:=binutils-$(BINUTILS_VERSION).tar.bz2 BINUTILS_DIR:=$(TOOL_BUILD_DIR)/binutils-$(BINUTILS_VERSION) @@ -72,12 +59,12 @@ $(BINUTILS_DIR1)/.configured: $(BINUTILS_DIR)/.patched touch $(BINUTILS_DIR1)/.configured $(BINUTILS_DIR1)/binutils/objdump: $(BINUTILS_DIR1)/.configured - $(MAKE) -C $(BINUTILS_DIR1) all + $(MAKE) -C $(BINUTILS_DIR1) -j $(CONFIG_JLEVEL) all # Make install will put gettext data in staging_dir/share/locale. # Unfortunatey, it isn't configureable. $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-ld: $(BINUTILS_DIR1)/binutils/objdump - $(MAKE) -C $(BINUTILS_DIR1) install + $(MAKE) -C $(BINUTILS_DIR1) -j $(CONFIG_JLEVEL) install ############################################################# @@ -105,13 +92,13 @@ $(BINUTILS_DIR2)/.configured: $(BINUTILS_DIR)/.patched $(BINUTILS_DIR2)/binutils/objdump: $(BINUTILS_DIR2)/.configured PATH=$(TARGET_PATH) \ - $(MAKE) -C $(BINUTILS_DIR2) all + $(MAKE) -C $(BINUTILS_DIR2) -j $(CONFIG_JLEVEL) all source: $(DL_DIR)/$(BINUTILS_SOURCE) prepare: $(BINUTILS_DIR)/.patched compile: $(BINUTILS_DIR1)/binutils/objdump install: $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-ld -clean: +clean: FORCE rm -f $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)* rm -rf $(BINUTILS_DIR) $(BINUTILS_DIR1)