mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:59:40 +02:00
tools/xz enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33431 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
36f237c9ef
commit
1428053a4c
@ -13,12 +13,14 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|||||||
PKG_SOURCE_URL:=http://tukaani.org/xz
|
PKG_SOURCE_URL:=http://tukaani.org/xz
|
||||||
PKG_MD5SUM:=741cd3a5f64b23b7bac56ec5b2258715
|
PKG_MD5SUM:=741cd3a5f64b23b7bac56ec5b2258715
|
||||||
|
|
||||||
|
HOST_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
HOST_LDFLAGS += $(HOST_STATIC_LINKING)
|
HOST_LDFLAGS += $(HOST_STATIC_LINKING)
|
||||||
|
|
||||||
define Host/Install
|
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)"
|
AM_LDFLAGS="$(if $(HOST_STATIC_LINKING),-all-static)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user