summaryrefslogtreecommitdiffstats
path: root/scripts/package/buildtar
diff options
context:
space:
mode:
authorZdenek Kaspar <zkaspar82@gmail.com>2011-01-30 12:18:51 +0100
committerMichal Marek <mmarek@suse.cz>2011-03-09 16:18:06 +0100
commit9a17f40048be305749f53278c857bf52939081f3 (patch)
tree4829c35b68d35293835ed7623b968e17f049c34e /scripts/package/buildtar
parentMerge commit 'v2.6.38-rc1' into kbuild/packaging (diff)
downloadlinux-9a17f40048be305749f53278c857bf52939081f3.tar.xz
linux-9a17f40048be305749f53278c857bf52939081f3.zip
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