Skip to contentSkip to conversation

ti-kernel-fitimage: Add ti-secdev

PATCH New Ryan Eatmon 1 participant 1 message Jul 16, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ti-kernel-fitimage: Add ti-secdev

In order to turn the fitImage signing back on, we need to inherit the ti-secdev class to setup all of the needed signing variables.

Remove the inherit ti-secdev from the kernel recipes since the fitImage signing is handled in the ti-kernel-fitimage recipe and not in the kernel recipes anymore.

---
v2: Remove the inherit ti-secdev from the kernel recipes and add
appropriate comment.

 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb  | 1 -
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb | 1 -
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb  | 1 -
 meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb    | 2 ++
 4 files changed, 2 insertions(+), 3 deletions(-)
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb +0 -1
index ac034c2c..39ff24ed 100644
@@ -3,7 +3,6 @@ SUMMARY = "Linux kernel for TI devices"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
-inherit ti-secdev
 inherit kernel
 
 require recipes-kernel/linux/setup-defconfig.inc
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb +0 -1
index 3383787e..e58eadcb 100644
@@ -3,7 +3,6 @@ SUMMARY = "Linux kernel for TI devices"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
-inherit ti-secdev
 inherit kernel
 
 require recipes-kernel/linux/setup-defconfig.inc
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb +0 -1
index 07cad78d..a2eb3978 100644
@@ -3,7 +3,6 @@ SUMMARY = "Linux kernel for TI devices"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
-inherit ti-secdev
 inherit kernel
 
 require recipes-kernel/linux/setup-defconfig.inc
meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb +2 -0
index dae76387..a5e6a280 100644
@@ -3,6 +3,8 @@ FIT_CONF_PREFIX ?= "conf-ti_"
 
 require recipes-kernel/linux/linux-yocto-fitimage.bb
 
+inherit ti-secdev
+
 include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
 
 do_compile[depends] += "virtual/kernel:do_shared_workdir"
Signature · 1 line
2.17.1