summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-07-05 23:35:05 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2023-07-07 11:21:21 +0200
commitf01450947849b002a994545e73928ade491b7b0a (patch)
tree62d18bc144f26d9118d8a6e20854f349ae9c829f /classes
parentca18de776e2299246239d06fbdea646eb23fe4e1 (diff)
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 <max.krummenacher@toradex.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/toradex-devicetree.bbclass2
1 files changed, 2 insertions, 0 deletions
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}"