[2/4] linux-module: inherit per-kernel

Message ID 20250411200852.51967-3-chris.larson@siemens.com
State New
Headers show
Series Add support for per-kernel recipe variants | expand

Commit Message

chris.larson April 11, 2025, 8:08 p.m. UTC
From: Christopher Larson <chris.larson@siemens.com>

This ensures that it's possible to build the kernel module for all kernels which
are supported by the current MACHINE. This will have no effect unless the
KERNEL_NAMES variable is adjusted to add more than just KERNEL_NAME.

Signed-off-by: Christopher Larson <chris.larson@siemens.com>
---
 meta/recipes-kernel/linux-module/module.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-kernel/linux-module/module.inc b/meta/recipes-kernel/linux-module/module.inc
index 3b0ceae7..6f877115 100644
--- a/meta/recipes-kernel/linux-module/module.inc
+++ b/meta/recipes-kernel/linux-module/module.inc
@@ -43,6 +43,7 @@  python() {
 }
 
 inherit dpkg
+inherit per-kernel
 
 TEMPLATE_FILES = "debian/control.tmpl \
                   debian/rules.tmpl"