From d1969d761fc2c0d88b2970c9447d36bc67e108a6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 10 Apr 2014 14:43:26 +0000 Subject: [PATCH] build: add support for packing version control downloads with xz Signed-off-by: Felix Fietkau SVN-Revision: 40446 --- include/download.mk | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.30.2