linux-mod-r1.eclass: pass COMPRESS_ALL= in MAKEARGS usable in >=6.12

Technically a no-op so quick-adding without review. It could mean
something if the kernel adds new compression methods in the future
(_ALL ensures everything is disabled rather than have to list each
of them, which is what we want there).

When the day comes when we drop support for <=6.12 kernels or the
change was backported (if ever) for long enough, we could cleanup
passing COMRESS_GZIP/XZ/ZSTD there and only keep _ALL.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-12-05 23:21:58 -05:00
parent aa1d4ef207
commit 81c8ffec6e

View File

@@ -1263,7 +1263,8 @@ _modules_set_makeargs() {
# these are only needed if using these arguments for installing, lets
# eclass handle strip, sign, compress, and depmod (CONFIG_ should
# have no impact on building, only used by Makefile.modinst)
CONFIG_MODULE_{SIG_ALL,COMPRESS_{GZIP,XZ,ZSTD}}=
# note: COMPRESS_ALL is enough for kernel >=6.12, rest is for compat
CONFIG_MODULE_{SIG_ALL,COMPRESS_{ALL,GZIP,XZ,ZSTD}}=
DEPMOD=true #916587
STRIP=true
)