diff options
author | Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> | 2023-03-02 14:14:20 +0530 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-03-03 10:50:38 -0600 |
commit | 9762c3ea0aee844f9070e5469e3dc89cf7f289c9 (patch) | |
tree | 64402f2930e0700acf100890b66756b5bb3720b1 /meta-xilinx-core | |
parent | da5e91d582c1ad58eb090541a655792806474293 (diff) | |
download | meta-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.inc | 2 |
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 | ||
60 | SYSTEM_DTFILE ??= "" | 60 | SYSTEM_DTFILE ??= "" |
61 | CONFIG_DTFILE ??= "${SYSTEM_DTFILE}" | 61 | CONFIG_DTFILE ??= "${SYSTEM_DTFILE}" |
62 | FIT_CONF_DEFAULT_DTB ?= "${@os.path.basename(d.getVar('CONFIG_DTFILE')).replace('.dts', '.dtb') if d.getVar('CONFIG_DTFILE') else 'system.dtb'}" | 62 | FIT_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 |
65 | INITRAMFS_IMAGE ??= "" | 65 | INITRAMFS_IMAGE ??= "" |