summaryrefslogtreecommitdiff
path: root/scripts/package
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 11:50:46 +0900
commit88f5e1e66253fc4acd3f68eb4d356fa4653a7bf9 (patch)
tree686d67496820397237d19b1a89143a9581b48c2e /scripts/package
parent2216cf68cf56808323bff44d43083422a1c4e2f9 (diff)
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 'scripts/package')
-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