linux: simplify requesting kernel modules (branch yem/needs-modules)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 7 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 7 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/7] linux: simplify requesting kernel modules (branch yem/needs-modules)
Quoted 22 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Hello All!
This series is a proposal to make it easier and mor esimple for packages to request that the Linux kernel be built with support for loadable modules.This work was prompted by a comment from Thomas on IRC, who did not like much that packages had to write things like:
ifeq ($(BR2_PACKAGE_FOO),y)
LINUX_NEEDS_MODULES= y
endifThe
LINUX_NEEDS_MODULESvariable was introduced as a pure make variable, because we needed it to implement the kernel-module infra. So, we just turned to using it even from packages that do not use that infra.However, that's indeed quite cumbersome that packages do have to write this code in their .mk files, when we already have the logic in two places:
Quoted 8 lines
- in the Config.in, since that's handled natively by
Kconfig,
- in the generic package infra, in which we already have that condition to add packages to the list.So, this series introduce
BR2_LINUX_NEEDS_MODULES, theKconfigcounter-part ofLINUX_NEEDS_MODULES.LINUX_NEEDS_MODULESstill gets set by the kernel-module infra when the package is enabled, but is also set whenBR2_LINUX_NEEDS_MODULESis.
Committed series, thanks.
Signature · 1 line
Bye, Peter Korsgaard