OpenCloudOS-Kernel/scripts/package
Denis Efremov 8dfb61dcba kbuild: add variables for compression tools
Allow user to use alternative implementations of compression tools,
such as pigz, pbzip2, pxz. For example, multi-threaded tools to
speed up the build:
$ make GZIP=pigz BZIP2=pbzip2

Variables _GZIP, _BZIP2, _LZOP are used internally because original env
vars are reserved by the tools. The use of GZIP in gzip tool is obsolete
since 2015. However, alternative implementations (e.g., pigz) still rely
on it. BZIP2, BZIP, LZOP vars are not obsolescent.

The credit goes to @grsecurity.

As a sidenote, for multi-threaded lzma, xz compression one can use:
$ export XZ_OPT="--threads=0"

Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-06-06 23:42:01 +09:00
..
builddeb builddeb: split libc headers deployment out into a function 2020-01-29 01:51:30 +09:00
buildtar kbuild: add variables for compression tools 2020-06-06 23:42:01 +09:00
mkdebian kbuild: deb-pkg: fix warning when CONFIG_DEBUG_INFO is unset 2020-03-30 09:23:00 +09:00
mkspec kbuild: create *.mod with full directory path and remove MODVERDIR 2019-07-18 02:19:31 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00