summaryrefslogtreecommitdiffstats
path: root/scripts/package/buildtar
diff options
context:
space:
mode:
authorPaweł Jasiak <pawel@jasiak.dev>2021-10-08 13:37:59 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2021-10-12 04:50:46 +0200
commit88f5e1e66253fc4acd3f68eb4d356fa4653a7bf9 (patch)
tree686d67496820397237d19b1a89143a9581b48c2e /scripts/package/buildtar
parentscripts: update the comments of kallsyms support (diff)
downloadlinux-88f5e1e66253fc4acd3f68eb4d356fa4653a7bf9.tar.xz
linux-88f5e1e66253fc4acd3f68eb4d356fa4653a7bf9.zip
kbuild: Add make tarzst-pkg build option
Add tarzst-pkg and perf-tarzst-src-pkg targets to build zstd compressed tarballs. Signed-off-by: Paweł Jasiak <pawel@jasiak.dev> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to '')
-rwxr-xr-xscripts/package/buildtar4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/package/buildtar b/scripts/package/buildtar
index 221aa7df008d..cb54c7f1aa80 100755
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
@@ -39,6 +39,10 @@ case "${1}" in
opts="-I ${XZ}"
tarball=${tarball}.xz
;;
+ tarzst-pkg)
+ opts="-I ${ZSTD}"
+ tarball=${tarball}.zst
+ ;;
*)
echo "Unknown tarball target \"${1}\" requested, please add it to ${0}." >&2
exit 1