summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-15 14:17:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-15 14:17:40 +0000
commit1428053a4c0f576e92a0d732220c3b4f05d0b429 (patch)
tree97da079e51103d599058e83c64521770064d9370 /tools
parent36f237c9ef07242cfec1c5affbae50d87887d18a (diff)
tools/xz enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33431 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/xz/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/xz/Makefile b/tools/xz/Makefile
index 7298630882..383cdcdfd4 100644
--- a/tools/xz/Makefile
+++ b/tools/xz/Makefile
@@ -13,12 +13,14 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://tukaani.org/xz
PKG_MD5SUM:=741cd3a5f64b23b7bac56ec5b2258715
+HOST_BUILD_PARALLEL:=1
+
include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += $(HOST_STATIC_LINKING)
define Host/Install
- $(MAKE) -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