diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-10 14:43:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-10 14:43:26 +0000 |
commit | d1969d761fc2c0d88b2970c9447d36bc67e108a6 (patch) | |
tree | 5d26fb773c9f57935a7652e2cd45e55bacd74c2c /include | |
parent | 25a1dcb37b69870dc95501f9c576353bb1365081 (diff) | |
download | mtk-20170518-d1969d761fc2c0d88b2970c9447d36bc67e108a6.zip mtk-20170518-d1969d761fc2c0d88b2970c9447d36bc67e108a6.tar.gz mtk-20170518-d1969d761fc2c0d88b2970c9447d36bc67e108a6.tar.bz2 |
build: add support for packing version control downloads with xz
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40446
Diffstat (limited to 'include')
-rw-r--r-- | include/download.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/download.mk b/include/download.mk index 1c3f23e..cc4ffb0 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)) |