X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/02eae88c3599c13df02546694887b629e8892fd0..293ad9c61ec69dab1eafa98b2c35c62fc15ccefc:/toolchain/binutils/Makefile diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 7d405664b..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 ",, $(CONFIG_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 \ @@ -60,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 ############################################################# @@ -93,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)