kbuild: deb-pkg: add KDEB_SOURCE_COMPRESS to specify source compression
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 17 Apr 2023 14:25:48 +0000 (23:25 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 25 Apr 2023 01:04:19 +0000 (10:04 +0900)
commit1d29b4c223811871017542e96ac00ee562a37497
tree9e4598c77eebb75207881eab3aef170f91e53712
parent31f735c65d4f4825c57620f39f2fa27aa01ac172
kbuild: deb-pkg: add KDEB_SOURCE_COMPRESS to specify source compression

Add KDEB_SOURCE_COMPRESS to specify the compression for the orig and
debian tarballs. (cf. the existing KDEB_COMPRESS is used to specify
the compression for binary packages.)

Supported algorithms are gzip, bzip2, lzma, and xz, all of which are
supported by dpkg-source.

The current default is gzip. You can change it via the environment
variable, for example, 'KDEB_SOURCE_COMPRESS=xz make deb-pkg'.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/Makefile.package