Skip to content

core/pkg-kernel-config: ensure linux supports modules (branch yem/kernel-module)

Peter Korsgaard buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 4 patches 0 repliesNew

Patches in v3 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Buildroot] [PATCH 0/4 v3] core/pkg-kernel-config: ensure linux supports modules (branch yem/kernel-module)
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 fixes two standing issues with the way we handle packages that build kernel modules:

- first, the current check is broken, because $(LINUX_DIR) should be double-$ed, as it is used in a macro from an infra,

- second, it is currently possible to (try to) build such packages without the kernel config havong CONFIG_MODULES set.

NOTE: The tree is currently *broken* for any package that uses the kernel-module infra. The release is broken, too.

So, these three patches fix that:

- introduce a new internal variable to tell the kernel to enable support for modules, LINUX_NEEDS_MODULES, that should be set whenever a package wants to build a kernel modules, and is automatically set by the kernel-module infra,

Quoted 8 lines

- the (broken) check is no longer needed so removed,

- a few packages that build kernel modules without using the kernel-module infra are fixed to manually set that variable.

Thanks to Peter for suggesting the solution, and to No? and Jan for their previous attempts that eventually led to this series.

Committed series, thanks.

Signature · 1 line
Bye, Peter Korsgaard