diff options
author | thepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-05 20:15:12 +0000 |
---|---|---|
committer | thepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-05 20:15:12 +0000 |
commit | 2b2bbce3918dda8a4a22f9d983ce554f2f9655c7 (patch) | |
tree | f24b6c4cc9d46331842e3454c175ca77b1d5a99f | |
parent | 9c8508de703b63d4fbedea097959d0a990146b7f (diff) |
this patch fixes toolchain parallel build, which reduces build time.
In order to enable parallel build, change line 21 of
include/host-build.mk from:
override MAKEFLAGS=
to:
override MAKEFLAGS=$(MAKE_JOBS)
-Raphael
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19995 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/host-build.mk | 4 | ||||
-rw-r--r-- | toolchain/gcc/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/host-build.mk b/include/host-build.mk index 6324276a7..75792579e 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -80,7 +80,7 @@ define Host/Compile endef define Host/Install/Default - $(MAKE) -C $(HOST_BUILD_DIR) install + $(_SINGLE)$(MAKE) -C $(HOST_BUILD_DIR) install endef define Host/Install diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 8b920607e..9c820f2fe 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -250,7 +250,7 @@ define SetupExtraArch endef define Stage2/Install - $(GCC_MAKE) -C $(HOST_BUILD_DIR2) install + $(_SINGLE)$(GCC_MAKE) -C $(HOST_BUILD_DIR2) install # Set up the symlinks to enable lying about target name. set -e; \ (cd $(TOOLCHAIN_DIR)/usr; \ |