diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-23 09:49:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-09-23 09:49:52 +0000 |
commit | 4c3dab328578854ece95fa847005a93f88a065fc (patch) | |
tree | 3b89e251df9c131bce7f6ea29ab41fd6384704e7 | |
parent | 49d9545a63456f37a2fdba535ab4030669325570 (diff) | |
download | upstream-4c3dab328578854ece95fa847005a93f88a065fc.tar.gz upstream-4c3dab328578854ece95fa847005a93f88a065fc.tar.bz2 upstream-4c3dab328578854ece95fa847005a93f88a065fc.zip |
build: pass MAKE_JOBSERVER via environment to avoid leaking it to error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33521 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/toplevel.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk index 5b76a0706f..4bbc58e11d 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -26,6 +26,7 @@ export IS_TTY=$(shell tty -s && echo 1 || echo 0) export LD_LIBRARY_PATH:=$(subst ::,:,$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib) export DYLD_LIBRARY_PATH:=$(subst ::,:,$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib) export GIT_CONFIG_PARAMETERS='core.autocrlf=false' +export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS)) # prevent perforce from messing with the patch utility unexport P4PORT P4USER P4CONFIG P4CLIENT @@ -148,7 +149,7 @@ prereq:: prepare-tmpinfo .config echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!"; \ fi \ ) - @+$(SUBMAKE) -r $@ MAKE_JOBSERVER="$(filter --jobserver%,$(MAKEFLAGS))" + @+$(SUBMAKE) -r $@ help: cat README |