mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:16:16 +02:00
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
This commit is contained in:
parent
eabd545e36
commit
cc5c77bb4a
@ -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 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 DYLD_LIBRARY_PATH:=$(subst ::,:,$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib)
|
||||||
export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
|
export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
|
||||||
|
export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS))
|
||||||
|
|
||||||
# prevent perforce from messing with the patch utility
|
# prevent perforce from messing with the patch utility
|
||||||
unexport P4PORT P4USER P4CONFIG P4CLIENT
|
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!"; \
|
echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!"; \
|
||||||
fi \
|
fi \
|
||||||
)
|
)
|
||||||
@+$(SUBMAKE) -r $@ MAKE_JOBSERVER="$(filter --jobserver%,$(MAKEFLAGS))"
|
@+$(SUBMAKE) -r $@
|
||||||
|
|
||||||
help:
|
help:
|
||||||
cat README
|
cat README
|
||||||
|
Loading…
Reference in New Issue
Block a user