aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xz/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-15 14:17:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-15 14:17:40 +0000
commitb0065ecb72ce3c8a801578c344e8db17171d6ee4 (patch)
tree1f4d710e1bd801b671906d6c9fe7808ac273aaf7 /tools/xz/Makefile
parent6a137d1df849420a4d3fe6afb21df68948524b5a (diff)
downloadupstream-b0065ecb72ce3c8a801578c344e8db17171d6ee4.tar.gz
upstream-b0065ecb72ce3c8a801578c344e8db17171d6ee4.tar.bz2
upstream-b0065ecb72ce3c8a801578c344e8db17171d6ee4.zip
tools/xz enable parallel builds
SVN-Revision: 33431
Diffstat (limited to 'tools/xz/Makefile')
-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