From ed2bf29be5ea97f67c7195cd02eaf1bc1515bd36 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 23 Sep 2012 09:50:01 +0000 Subject: build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems SVN-Revision: 33523 --- include/host-build.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/host-build.mk') diff --git a/include/host-build.mk b/include/host-build.mk index 66795c8e10..60b7b9f916 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -80,7 +80,7 @@ ifneq ($(HOST_OS),Darwin) endif define Host/Configure/Default - (cd $(HOST_BUILD_DIR)/$(3); \ + $(if $(HOST_CONFIGURE_PARALLEL),+)(cd $(HOST_BUILD_DIR)/$(3); \ if [ -x configure ]; then \ $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(HOST_BUILD_DIR)/$(3)/ && \ $(2) \ @@ -97,7 +97,7 @@ define Host/Configure endef define Host/Compile/Default - $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) \ + +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) \ $(HOST_MAKE_FLAGS) \ $(1) endef -- cgit v1.2.3