summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core
diff options
context:
space:
mode:
authorRaju Kumar Pothuraju <rajukumar.pothuraju@amd.com>2023-03-02 14:14:20 +0530
committerMark Hatle <mark.hatle@amd.com>2023-03-03 10:50:38 -0600
commit9762c3ea0aee844f9070e5469e3dc89cf7f289c9 (patch)
tree64402f2930e0700acf100890b66756b5bb3720b1 /meta-xilinx-core
parentda5e91d582c1ad58eb090541a655792806474293 (diff)
downloadmeta-xilinx-9762c3ea0aee844f9070e5469e3dc89cf7f289c9.tar.gz
machine-xilinx-default.inc: Set FIT_CONF_DEFAULT_DTB only for SDT flow
system.dtb is symlink to actual dtb file which is not present in linux sysroot path. If specified dtb name for FIT_CONF_DEFAULT_DTB not present fitimage.bbclass will not set default configuration variable. To fix this, setting FIT_CONF_DEFAULT_DTB to empty if CONFIG_DTFILE not set(xsct flow) so that which dtb comes first that will be the default configuration in fitimage creation. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core')
-rw-r--r--meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
index 27ec6fbc..4a4384a1 100644
--- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
+++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
@@ -59,7 +59,7 @@ XSERVER ?= " \
59 59
60SYSTEM_DTFILE ??= "" 60SYSTEM_DTFILE ??= ""
61CONFIG_DTFILE ??= "${SYSTEM_DTFILE}" 61CONFIG_DTFILE ??= "${SYSTEM_DTFILE}"
62FIT_CONF_DEFAULT_DTB ?= "${@os.path.basename(d.getVar('CONFIG_DTFILE')).replace('.dts', '.dtb') if d.getVar('CONFIG_DTFILE') else 'system.dtb'}" 62FIT_CONF_DEFAULT_DTB ?= "${@os.path.basename(d.getVar('CONFIG_DTFILE')).replace('.dts', '.dtb') if d.getVar('CONFIG_DTFILE') else ''}"
63 63
64# Define to avoid parsse errors below if undefind elsewhere 64# Define to avoid parsse errors below if undefind elsewhere
65INITRAMFS_IMAGE ??= "" 65INITRAMFS_IMAGE ??= ""