From f01450947849b002a994545e73928ade491b7b0a Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 5 Jul 2023 23:35:05 +0200 Subject: toradex-devicetree.bbclass: follow change to vendor subdir for dtbs With moving to kernel 6.5 the kernel commit 724ba67515320 ("ARM: dts: Move .dts files to vendor sub-directories") introduced a regression with our 32 bit machines. Add the new subdirs as part of the list of include paths to search. Related-to: ELB-5263 Signed-off-by: Max Krummenacher --- classes/toradex-devicetree.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes') diff --git a/classes/toradex-devicetree.bbclass b/classes/toradex-devicetree.bbclass index 1994ad7..9e83e98 100644 --- a/classes/toradex-devicetree.bbclass +++ b/classes/toradex-devicetree.bbclass @@ -39,6 +39,8 @@ inherit devicetree S = "${WORKDIR}/git/overlays" DT_FILES_PATH = "${WORKDIR}/machine-overlays" DT_INCLUDE:append = " ${S}" +KERNEL_DTB_PREFIX ??= "" +KERNEL_INCLUDE:append = " ${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/${KERNEL_DTB_PREFIX}" # The machine specific recipes start with MACHINE_PREFIX}[_-] MACHINE_PREFIX = "${MACHINE}" -- cgit v1.2.3