Skip to contentSkip to conversation

lttng-platforms.inc: set LTTNGMODULES with ?=

PATCH New [email protected] 1 participant 1 message Feb 11

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lttng-platforms.inc: set LTTNGMODULES with ?=

From: Kai Kang <[email protected]>

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

---
 meta/recipes-kernel/lttng/lttng-platforms.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/lttng/lttng-platforms.inc +1 -1
index 900e36df82..b7cca582e1 100644
@@ -1,7 +1,7 @@
 #
 # Whether the platform supports kernel tracing
 #
-LTTNGMODULES = "lttng-modules"
+LTTNGMODULES ?= "lttng-modules"
 LTTNGMODULES:arc = ""
 LTTNGMODULES:riscv64 = ""
 
Signature · 1 line
2.34.1