summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-23 09:50:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-23 09:50:01 +0000
commited2bf29be5ea97f67c7195cd02eaf1bc1515bd36 (patch)
tree4421970d33eba53699af86dd05308c3428b44402 /tools
parent5c88d907c87b6f8c848bb16e079d760f0d5e6edb (diff)
downloadmtk-20170518-ed2bf29be5ea97f67c7195cd02eaf1bc1515bd36.zip
mtk-20170518-ed2bf29be5ea97f67c7195cd02eaf1bc1515bd36.tar.gz
mtk-20170518-ed2bf29be5ea97f67c7195cd02eaf1bc1515bd36.tar.bz2
build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
Diffstat (limited to 'tools')
-rw-r--r--tools/cmake/Makefile1
-rw-r--r--tools/libelf/Makefile2
-rw-r--r--tools/sed/Makefile2
-rw-r--r--tools/xz/Makefile2
4 files changed, 4 insertions, 3 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index 7ffcc1b..47df5d9 100644
--- a/tools/cmake/Makefile
+++ b/tools/cmake/Makefile
@@ -14,6 +14,7 @@ PKG_SOURCE_URL:=http://www.cmake.org/files/v2.8/
PKG_MD5SUM:=e1b237aeaed880f65dec9c20602452f6
HOST_BUILD_PARALLEL:=1
+HOST_CONFIGURE_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
diff --git a/tools/libelf/Makefile b/tools/libelf/Makefile
index dbd6eed..8036b6f 100644
--- a/tools/libelf/Makefile
+++ b/tools/libelf/Makefile
@@ -32,7 +32,7 @@ endef
define Host/Compile
- $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/lib/ libelf.a
+ +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/lib/ libelf.a
endef
define Host/Install
diff --git a/tools/sed/Makefile b/tools/sed/Makefile
index 86bb7c0..71e1bc9 100644
--- a/tools/sed/Makefile
+++ b/tools/sed/Makefile
@@ -29,7 +29,7 @@ HOST_CONFIGURE_VARS += \
ac_cv_header_selinux_selinux_h=no \
define Host/Compile
- $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" LDFLAGS="$(HOST_STATIC_LINKING)"
+ +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" LDFLAGS="$(HOST_STATIC_LINKING)"
endef
define Host/Install
diff --git a/tools/xz/Makefile b/tools/xz/Makefile
index 383cdcd..9999006 100644
--- a/tools/xz/Makefile
+++ b/tools/xz/Makefile
@@ -20,7 +20,7 @@ include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += $(HOST_STATIC_LINKING)
define Host/Install
- $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat" \
+ +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat" \
AM_LDFLAGS="$(if $(HOST_STATIC_LINKING),-all-static)"
endef