summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2020-01-14 19:11:26 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2020-01-21 16:56:48 +0100
commit1a7f0a34ea7d05d1ffcd32c9b1b4e07ac0687538 (patch)
tree26049fbaf7d41013977b12f623b86e76cf824bb8 /scripts
parentkbuild: remove 'Building modules, stage 2.' log (diff)
downloadlinux-1a7f0a34ea7d05d1ffcd32c9b1b4e07ac0687538.tar.xz
linux-1a7f0a34ea7d05d1ffcd32c9b1b4e07ac0687538.zip
builddeb: allow selection of .deb compressor
Select deb compression using KDEB_COMPRESS make variable. This allows to use gzip compression for local or test builds, and that's way faster than now-default xz compression. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/package/builddeb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index b60388051c7f..f903ba947daf 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -43,7 +43,7 @@ create_package() {
# Create the package
dpkg-gencontrol -p$pname -P"$pdir"
- dpkg --build "$pdir" ..
+ dpkg-deb ${KDEB_COMPRESS:+-Z$KDEB_COMPRESS} --build "$pdir" ..
}
version=$KERNELRELEASE