X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8acca98deda5be8a972563c773bbcbd7ecc7e23d..5649d3310defd45249dbf15e8b7b6385c11310b7:/include/toolchain-build.mk diff --git a/include/toolchain-build.mk b/include/toolchain-build.mk index b9a94316f..a0bc4061f 100644 --- a/include/toolchain-build.mk +++ b/include/toolchain-build.mk @@ -7,7 +7,12 @@ override CONFIG_AUTOREBUILD= +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