summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-12-05 23:21:58 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-12-06 00:10:08 -0500
commit81c8ffec6e3f587993081be4d64cda604f6aa61d (patch)
tree2a0687d957339caf8677a779367d3d0bb5edcaae /eclass
parentdev-python/pyqt6-webengine: update sip+pyqt-builder min reqs (diff)
downloadgentoo-81c8ffec6e3f587993081be4d64cda604f6aa61d.tar.gz
gentoo-81c8ffec6e3f587993081be4d64cda604f6aa61d.tar.bz2
gentoo-81c8ffec6e3f587993081be4d64cda604f6aa61d.zip
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>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-mod-r1.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass
index f8a45c607dfd..4e5b17548b04 100644
--- a/eclass/linux-mod-r1.eclass
+++ b/eclass/linux-mod-r1.eclass
@@ -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
)