X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/07caea4e3759dde687cd3869e7d8e2c72731b7a6..5649d3310defd45249dbf15e8b7b6385c11310b7:/include/toolchain-build.mk diff --git a/include/toolchain-build.mk b/include/toolchain-build.mk index 6defe63ed..a0bc4061f 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