summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-29 00:16:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-29 00:16:33 +0000
commit894bd2f7dc0ab47b2ba975e7ed270531136f4847 (patch)
treec41b142ea3290304c3e887ae6caa83fbbfb25c36 /include
parentdbeb0fad24ac37bc07e21e1cac4d372493f4fb28 (diff)
downloadmtk-20170518-894bd2f7dc0ab47b2ba975e7ed270531136f4847.zip
mtk-20170518-894bd2f7dc0ab47b2ba975e7ed270531136f4847.tar.gz
mtk-20170518-894bd2f7dc0ab47b2ba975e7ed270531136f4847.tar.bz2
use $(TAR) instead of tar
SVN-Revision: 9058
Diffstat (limited to 'include')
-rw-r--r--include/download.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/download.mk b/include/download.mk
index 1f227e2..3866242 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -23,8 +23,8 @@ $(strip \
endef
# code for creating tarballs from svn/git checkouts - useful for mirror support
-dl_pack/bz2=tar cfj $(1) $(2)
-dl_pack/gz=tar cfz $(1) $(2)
+dl_pack/bz2=$(TAR) cfj $(1) $(2)
+dl_pack/gz=$(TAR) cfz $(1) $(2)
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))