On Thu, May 18, 2023 at 12:25:43PM -0500, Andrew Davis via 
lists.yoctoproject.org wrote:
> On 5/18/23 11:15 AM, Ryan Eatmon via lists.yoctoproject.org wrote:
> >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 <[email protected]>
> >---
> >v2: - Fixed syntax of "1"
> >     - Fixed name of custom kernel class to match the other patch.
> >
> >  meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> >
> >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..7c992ac5 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"
> >+
> 
> We will want this for all kernels, not just ti-6.1, is there a more
> common place to put these defines so we get the same for -next and
> -mainline too?

Only ti-kernel.inc is also included by -mainline and -next.

-- 
Denys
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16560): 
https://lists.yoctoproject.org/g/meta-ti/message/16560
Mute This Topic: https://lists.yoctoproject.org/mt/98994752/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-ti/leave/6695321/21656/1393940836/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to