Re: [PATCH 2/3] kbuild: handle module compression while running 'make modules_install'.

Andi Kleen
2014-08-19T13:18:07Z

Bertrand Jacquin <beber@meleeweb.net> writes:
>
> +# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
> +# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
> +# or CONFIG_MODULE_COMPRESS_XZ.
> +
> +mod_compress_cmd = true
> +ifdef CONFIG_MODULE_COMPRESS
> + ifdef CONFIG_MODULE_COMPRESS_GZIP
> + mod_compress_cmd = gzip -n -9

Please don't use gzip -9. The gain is very small, but it can make
the time to compress much longer. Just use plain gzip.

I suspect it doesn't make sense either for xz.

-Andi

--
ak@linux.intel.com -- Speaking for myself only