mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
build: move the -j flag to package.mk instead of grabbing it from makeflags, otherwise it occasionally gets omitted on full builds
SVN-Revision: 33422
This commit is contained in:
parent
482a6d4aea
commit
c4198ce48d
@ -16,7 +16,7 @@ PKG_BUILD_PARALLEL ?=
|
|||||||
PKG_INFO_DIR := $(STAGING_DIR)/pkginfo
|
PKG_INFO_DIR := $(STAGING_DIR)/pkginfo
|
||||||
|
|
||||||
ifneq ($(CONFIG_PKG_BUILD_USE_JOBSERVER),)
|
ifneq ($(CONFIG_PKG_BUILD_USE_JOBSERVER),)
|
||||||
MAKE_J:=$(MAKE_JOBSERVER)
|
MAKE_J:=$(if $(MAKE_JOBSERVER),$(MAKE_JOBSERVER) -j)
|
||||||
else
|
else
|
||||||
MAKE_J:=-j$(CONFIG_PKG_BUILD_JOBS)
|
MAKE_J:=-j$(CONFIG_PKG_BUILD_JOBS)
|
||||||
endif
|
endif
|
||||||
|
@ -148,7 +148,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% -j,$(MAKEFLAGS))"
|
@+$(SUBMAKE) -r $@ MAKE_JOBSERVER="$(filter --jobserver%,$(MAKEFLAGS))"
|
||||||
|
|
||||||
help:
|
help:
|
||||||
cat README
|
cat README
|
||||||
|
Loading…
Reference in New Issue
Block a user