Skip to contentSkip to conversation

poky: Enable debug-kernel for SPDX license manifests

PATCH New Richard Purdie 1 participant 1 message Jul 18, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky: Enable debug-kernel for SPDX license manifests

In order to generate complete SPDX license manifests we need the kernel DEBUG_INFO configure option to be set. Enable this within poky by default as we want to be able to provide that information.

---
 meta-poky/conf/distro/poky.conf | 3 +++
 1 file changed, 3 insertions(+)
meta-poky/conf/distro/poky.conf +3 -0
index b4c64c495f5..5fa42ad513c 100644
@@ -68,3 +68,6 @@ BB_SIGNATURE_HANDLER ?= "OEEquivHash"
 BB_HASHSERVE ??= "auto"
 
 INIT_MANAGER = "sysvinit"
+
+# We need debug symbols so that SPDX license manifests for the kernel work
+KERNEL_EXTRA_FEATURES:append = " features/debug/debug-kernel.scc"
Signature · 1 line
2.34.1