From: Felix Fietkau Date: Thu, 10 Apr 2014 14:43:26 +0000 (+0000) Subject: build: add support for packing version control downloads with xz X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c3377729253319a4f938aa6e2cc2cfa4335f4ef6;p=openwrt%2Fsvn-archive%2Farchive.git build: add support for packing version control downloads with xz Signed-off-by: Felix Fietkau SVN-Revision: 40446 --- diff --git a/include/download.mk b/include/download.mk index 1c3f23e94b..cc4ffb0cfb 100644 --- a/include/download.mk +++ b/include/download.mk @@ -31,6 +31,7 @@ endef # code for creating tarballs from cvs/svn/git/bzr/hg/darcs checkouts - useful for mirror support dl_pack/bz2=$(TAR) cjf $(1) $(2) dl_pack/gz=$(TAR) czf $(1) $(2) +dl_pack/xz=$(TAR) c $(2) | xz -zc > $(1) dl_pack/unknown=echo "ERROR: Unknown pack format for file $(1)"; false define dl_pack $(if $(dl_pack/$(call ext,$(1))),$(dl_pack/$(call ext,$(1))),$(dl_pack/unknown))