Skip to content

Commit bc9e73c

Browse files
Rakesh Kumarhuaqianli
authored andcommitted
dtb: define default DTB_FILES in machine config
DTB_FILES was previously assigned using the '?=' operator in the iot2050 machine configuration. Since DTB_FILES may already be defined by other layers, this caused the assignment to be skipped entirely, resulting in only downstream-appended DTBs being visible. Define DTB_FILES explicitly in the iot2050 machine configuration and allow downstream layers to extend it using '+=' or ':append'. This ensures that all base DTBs for the iot2050 platform are always included, while still allowing feature or product layers to add additional DTBs without overriding the base set. Signed-off-by: Rakesh Kumar <kumar.rakesh@siemens.com>
1 parent 27ab1ef commit bc9e73c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

meta-sm/conf/layer.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ BBPATH .= ":${LAYERDIR}"
1414
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
1515
${LAYERDIR}/recipes-*/*/*.bbappend"
1616

17-
DTB_FILES += " \
17+
DTB_FILES:append = " \
1818
ti/k3-am6548-iot2050-advanced-sm.dtb \
1919
"
2020

meta/conf/machine/iot2050.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ PREFERRED_PROVIDER_u-boot-${MACHINE} ?= "u-boot-iot2050"
1515
PREFERRED_PROVIDER_u-boot-${MACHINE}-config ?= "u-boot-iot2050"
1616

1717
KERNEL_NAME ?= "iot2050"
18-
DTB_FILES ?= " \
18+
DTB_FILES = " \
1919
ti/k3-am6528-iot2050-basic.dtb \
2020
ti/k3-am6528-iot2050-basic-pg2.dtb \
2121
ti/k3-am6548-iot2050-advanced.dtb \

0 commit comments

Comments
 (0)