mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -129,7 +129,7 @@ MAKE_INSTALL_FLAGS = \
|
||||
MAKE_PATH = .
|
||||
|
||||
define Build/Compile/Default
|
||||
$(MAKE_VARS) \
|
||||
+$(MAKE_VARS) \
|
||||
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \
|
||||
$(MAKE_FLAGS) \
|
||||
$(1);
|
||||
|
||||
Reference in New Issue
Block a user