diff mbox series

[meta-ti,kirkstone,2/2] linux-ti-staging: Use vendored kernel-devicetree.bbclass

Message ID 20230517200840.23897-2-reatmon@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [meta-ti,kirkstone,1/2] kernel-devicetree-vendor-dtb: Backport kernel-devicetree.bbclass | expand

Commit Message

Ryan Eatmon May 17, 2023, 8:08 p.m. UTC
Change over to using the kernel-devicetree-vendor-dtb.bbclass to have
the DTBs installed into the same vendored subdirectory that is in the
kernel.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

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 cdee548f..b45a9815 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,7 @@  SUMMARY = "Linux kernel for TI devices"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
-inherit kernel
+inherit kernel-vendor-dtb
 
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/kernel-rdepends.inc
@@ -18,6 +18,9 @@  FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
 		      ${EXTRA_DTC_ARGS}"
 
+KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtbs"
+KERNEL_DTBVENDORED = 1
+
 S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-6.1.y"