X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=include%2Ftoolchain-build.mk;h=a0bc4061fcfcfc6c488e30ac985ccf4c709f9d5d;hb=b4f26d0124f3464bd48ce621ffaff4e47b0b8cbc;hp=08054ac9c65fba7b43ef1e39178b9dcd84db4f5a;hpb=e605dff48fdff1a9cf6da69883da28e6fd707513;p=openwrt.git diff --git a/include/toolchain-build.mk b/include/toolchain-build.mk index 08054ac9c6..a0bc4061fc 100644 --- a/include/toolchain-build.mk +++ b/include/toolchain-build.mk @@ -7,9 +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