aboutsummaryrefslogtreecommitdiffstats
path: root/include/toplevel.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-15 10:21:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-15 10:21:24 +0000
commit397d1a34965af8036027881e783b6352ded3a28a (patch)
tree7eae014a38c9914f9d45f1cecf614acaee6bd692 /include/toplevel.mk
parent6826f8137a7e28a6e2706d99f754cc7422a16f63 (diff)
downloadmaster-187ad058-397d1a34965af8036027881e783b6352ded3a28a.tar.gz
master-187ad058-397d1a34965af8036027881e783b6352ded3a28a.tar.bz2
master-187ad058-397d1a34965af8036027881e783b6352ded3a28a.zip
build: add a config option for passing the top-level make jobserver to packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33414 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/toplevel.mk')
-rw-r--r--include/toplevel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index d37ddb9171..ba5af9c155 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -148,7 +148,7 @@ prereq:: prepare-tmpinfo .config
echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!"; \
fi \
)
- @+$(SUBMAKE) -r $@
+ @+$(SUBMAKE) -r $@ MAKE_JOBSERVER="$(filter --jobserver% -j,$(MAKEFLAGS))"
help:
cat README