[meta-ti][master][PATCH v2 3/3] ti-devicetree-prefix: set ARCH directly
Ryan Eatmon <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-ti |
|---|---|
| Message-ID | <[email protected]> |
A change in oe-core [1] no longer set ARCH but prefers that you set it yourself. [1] https://git.openembedded.org/openembedded-core/commit/?id=635f85b7b8ffe4bfd5f282a98bdf640aa037cde1 Signed-off-by: Ryan Eatmon <[email protected]> --- v2: New patch. meta-ti-bsp/classes/ti-devicetree-prefix.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-ti-bsp/classes/ti-devicetree-prefix.bbclass b/meta-ti-bsp/classes/ti-devicetree-prefix.bbclass index 5858cc65..65c0134c 100644 --- a/meta-ti-bsp/classes/ti-devicetree-prefix.bbclass +++ b/meta-ti-bsp/classes/ti-devicetree-prefix.bbclass @@ -35,6 +35,8 @@ def get_merge_dtbs_from_kernel(dts_dir, dts_pattern): matches.append(pattern) return ' '.join(matches) +ARCH = "${@oe.kernel.map_kernel_arch(d)}" + KERNEL_DEVICETREE = " \ ${@get_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_PREFIX}')} \ ${@get_merge_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_DTBMERGE}')} \ -- 2.43.0