summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-31 23:45:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-31 23:45:06 +0000
commit782ea322076f68d1ef1bf1a80ea0527a124777b0 (patch)
tree96267ea46101557f516c7ffbae542e86a812f138
parent7817b5c7113a73d33318a1174e4556c9db94deb4 (diff)
allow parallel build of binutils
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3879 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/binutils/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 43755c5fb6..c161370e99 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -59,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
#############################################################
@@ -92,7 +92,7 @@ $(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