summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-11-28 15:27:17 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2023-11-29 17:07:19 +0100
commit4886be4b958e8802e070772c442cf942d4cc4a31 (patch)
tree0ca9653e41cfea4dc9ca3be92439f3b0ac1a4531 /classes
parent8a28f12b199e8d6e107006c9849340ce55d0e339 (diff)
toradex-devicetree.bbclass: drop deployment of 'common' dtbo
We dropped having common device tree overlays, i.e. all dtbo are now machine specific and start with the machine name. Drop searching and deploying dtbos which do not start with a machine name. This fixes deploying verdin-am62*dtbo for non verdin-am62 machines. Related-to: ELB-5479 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 620f5bbe0ca0743e682a69697cb8fb1d39550471)
Diffstat (limited to 'classes')
-rw-r--r--classes/toradex-devicetree.bbclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/classes/toradex-devicetree.bbclass b/classes/toradex-devicetree.bbclass
index 9e83e98..a511c64 100644
--- a/classes/toradex-devicetree.bbclass
+++ b/classes/toradex-devicetree.bbclass
@@ -13,8 +13,8 @@
#
# The devicetree overlays to be deployed
# to ${DEPLOY_DIR_IMAGE}/overlays, if not
-# set, all common and machine related
-# overlays would be deployed.
+# set, all machine related overlays would
+# be deployed.
#
# TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT = "a-overlay.dtbo"
#
@@ -50,8 +50,7 @@ MACHINE_PREFIX:colibri-imx7-emmc = "colibri-imx7"
do_collect_overlays () {
if [ -z "${TEZI_EXTERNAL_KERNEL_DEVICETREE}" ] ; then
machine_dts=`cd ${S} && ls ${MACHINE_PREFIX}[_-]*.dts 2>/dev/null || true`
- common_dts=`cd ${S} && ls *.dts 2>/dev/null | grep -v -e 'imx[6-8]' | xargs || true`
- all_dts="$machine_dts $common_dts"
+ all_dts="$machine_dts"
else
for dtbo in ${TEZI_EXTERNAL_KERNEL_DEVICETREE}; do
dtbo_ext=${dtbo##*.}