summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2023-01-15 17:57:33 -0800
committerMark Hatle <mark.hatle@amd.com>2023-04-10 09:03:22 -0700
commit723a353fd23aece1363812e769daed467abaa2de (patch)
tree9aa69b889912d9055a37bf5c867b98a42b771cfb /meta-xilinx-standalone-experimental
parent3f9ffac27a96b283ce156298ba20541aa57d2de6 (diff)
downloadmeta-xilinx-723a353fd23aece1363812e769daed467abaa2de.tar.gz
esw.bbclass: Fix parse error when CONFIG_DTFILE isn't defined
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental')
-rw-r--r--meta-xilinx-standalone-experimental/classes/esw.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass
index 4b9a5d9d..f133662a 100644
--- a/meta-xilinx-standalone-experimental/classes/esw.bbclass
+++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass
@@ -25,6 +25,7 @@ inherit ccmake
25COMPATIBLE_HOST = ".*-elf" 25COMPATIBLE_HOST = ".*-elf"
26COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" 26COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi"
27 27
28CONFIG_DTFILE ??= ""
28DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 29DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
29 30
30DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native" 31DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native"