diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2023-01-15 17:57:33 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-04-10 09:03:22 -0700 |
| commit | 723a353fd23aece1363812e769daed467abaa2de (patch) | |
| tree | 9aa69b889912d9055a37bf5c867b98a42b771cfb /meta-xilinx-standalone-experimental | |
| parent | 3f9ffac27a96b283ce156298ba20541aa57d2de6 (diff) | |
| download | meta-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.bbclass | 1 |
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 | |||
| 25 | COMPATIBLE_HOST = ".*-elf" | 25 | COMPATIBLE_HOST = ".*-elf" |
| 26 | COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" | 26 | COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" |
| 27 | 27 | ||
| 28 | CONFIG_DTFILE ??= "" | ||
| 28 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 29 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" |
| 29 | 30 | ||
| 30 | DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native" | 31 | DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native" |
