diff mbox series

lttng-platforms.inc: set LTTNGMODULES with ?=

Message ID 20260211030421.2335333-1-kai.kang@windriver.com
State New
Headers show
Series lttng-platforms.inc: set LTTNGMODULES with ?= | expand

Commit Message

Kai Feb. 11, 2026, 3:04 a.m. UTC
From: Kai Kang <kai.kang@windriver.com>

Set LTTNGMODULES with ?= in lttng-platforms.inc, then it could be set in
.conf files to override it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/recipes-kernel/lttng/lttng-platforms.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-kernel/lttng/lttng-platforms.inc b/meta/recipes-kernel/lttng/lttng-platforms.inc
index 900e36df82..b7cca582e1 100644
--- a/meta/recipes-kernel/lttng/lttng-platforms.inc
+++ b/meta/recipes-kernel/lttng/lttng-platforms.inc
@@ -1,7 +1,7 @@ 
 #
 # Whether the platform supports kernel tracing
 #
-LTTNGMODULES = "lttng-modules"
+LTTNGMODULES ?= "lttng-modules"
 LTTNGMODULES:arc = ""
 LTTNGMODULES:riscv64 = ""