build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems

SVN-Revision: 33523
This commit is contained in:
Felix Fietkau
2012-09-23 09:50:01 +00:00
parent 5c88d907c8
commit ed2bf29be5
20 changed files with 23 additions and 22 deletions

View File

@@ -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