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"

Do we want this to be "dtbs" or "dtb"? Debian uses "dtb" which is the
far more common distro today and the one we plan to support in the near
term. I know I used "dtbs" in the U-Boot side patch for this, but I'm
having second thoughts and it's easy to switch it over in U-Boot..

Andrew

+KERNEL_DTBVENDORED = "1"
+
  S = "${WORKDIR}/git"
BRANCH = "ti-linux-6.1.y"





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

Reply via email to