Message ID | 20250716145227.1699-1-reatmon@ti.com |
---|---|
State | Under Review |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | [meta-ti,master,v2] ti-kernel-fitimage: Add ti-secdev | expand |
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb index ac034c2c..39ff24ed 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb @@ -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 diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb index 3383787e..e58eadcb 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb @@ -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 diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb index 07cad78d..a2eb3978 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb @@ -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 diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb b/meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb index dae76387..a5e6a280 100644 --- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb @@ -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"
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. Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- 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(-)