tools/xz enable parallel builds
authorFelix Fietkau <nbd@openwrt.org>
Sat, 15 Sep 2012 14:17:40 +0000 (14:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 15 Sep 2012 14:17:40 +0000 (14:17 +0000)
SVN-Revision: 33431

tools/xz/Makefile

index 7298630..383cdcd 100644 (file)
@@ -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