X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=inline;f=include%2Ftoolchain-build.mk;h=a0bc4061fcfcfc6c488e30ac985ccf4c709f9d5d;hb=cf323eb924bf6a5b45e136f7afef91078d5b070d;hp=6defe63edf06e79d2b483682cd9ed0fe478fbaab;hpb=affe22dce74e930c35abc094d5c523135b2f0be0;p=lede-git%2F.git diff --git a/include/toolchain-build.mk b/include/toolchain-build.mk index 6defe63edf..a0bc4061fc 100644 --- a/include/toolchain-build.mk +++ b/include/toolchain-build.mk @@ -11,6 +11,8 @@ REAL_STAGING_DIR_HOST:=$(STAGING_DIR_HOST) STAGING_DIR_HOST:=$(TOOLCHAIN_DIR) BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN) +TOOLCHAIN_JOBS?=$(if $(CONFIG_TOOLCHAIN_PARALLEL),-j$(CONFIG_PKG_BUILD_JOBS)) + include $(INCLUDE_DIR)/host-build.mk HOST_STAMP_PREPARED=$(HOST_BUILD_DIR)/.prepared