summaryrefslogtreecommitdiff
path: root/scripts/package/buildtar
diff options
context:
space:
mode:
authorZdenek Kaspar <zkaspar82@gmail.com>2011-01-30 14:18:51 +0300
committerMichal Marek <mmarek@suse.cz>2011-03-09 18:18:06 +0300
commit9a17f40048be305749f53278c857bf52939081f3 (patch)
tree4829c35b68d35293835ed7623b968e17f049c34e /scripts/package/buildtar
parent2d8ad8719591fa803b0d589ed057fa46f49b7155 (diff)
downloadlinux-9a17f40048be305749f53278c857bf52939081f3.tar.xz
kbuild: Add make tarxz-pkg build option
Signed-off-by: Zdenek Kaspar <zkaspar82@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/package/buildtar')
-rw-r--r--scripts/package/buildtar4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/package/buildtar b/scripts/package/buildtar
index 51b2aa0acb82..83c9c04102f2 100644
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
@@ -35,6 +35,10 @@ case "${1}" in
compress="bzip2 -c9"
file_ext=".bz2"
;;
+ tarxz-pkg)
+ compress="xz -c9"
+ file_ext=".xz"
+ ;;
*)
echo "Unknown tarball target \"${1}\" requested, please add it to ${0}." >&2
exit 1