diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2021-09-13 12:48:40 -0700 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-28 08:20:16 -0700 |
commit | d1f455cfd8b502a069858b51771bb36c8fbb122a (patch) | |
tree | 998f74983fd0891009716bad9d39ccfa085d5139 /meta-xilinx-standalone-experimental/classes/esw.bbclass | |
parent | aba5951e6fb6ddfc37075eb65eafacb54a7b9c3e (diff) | |
download | meta-xilinx-d1f455cfd8b502a069858b51771bb36c8fbb122a.tar.gz |
meta-xilinx-standalone-experimental: Move from device-tree-lops to device-tree
The device trees are now generated by the user as part of the configuration
steps. As such, we need to simply copy/process these device trees as part
of the system build so adjust the various usages to the new variable
CONFIG_DTFILE, which is a full path reference to the device tree for a
particular configuration.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/classes/esw.bbclass')
-rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass index a7bc7e2d..0d6e78a6 100644 --- a/meta-xilinx-standalone-experimental/classes/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass | |||
@@ -23,14 +23,14 @@ inherit ccmake | |||
23 | COMPATIBLE_HOST = ".*-elf" | 23 | COMPATIBLE_HOST = ".*-elf" |
24 | COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" | 24 | COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" |
25 | 25 | ||
26 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/${ESW_MACHINE}-baremetal.dtb" | 26 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" |
27 | 27 | ||
28 | DEPENDS += "python3-pyyaml-native lopper-native device-tree-lops python3-dtc-native" | 28 | DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native" |
29 | 29 | ||
30 | # We need the deployed output | 30 | # We need the deployed output |
31 | do_configure[depends] += "device-tree-lops:do_deploy" | 31 | do_configure[depends] += "device-tree:do_deploy" |
32 | do_compile[depends] += "device-tree-lops:do_deploy" | 32 | do_compile[depends] += "device-tree:do_deploy" |
33 | do_install[depends] += "device-tree-lops:do_deploy" | 33 | do_install[depends] += "device-tree:do_deploy" |
34 | 34 | ||
35 | def get_xlnx_cmake_machine(fam, d): | 35 | def get_xlnx_cmake_machine(fam, d): |
36 | cmake_machine = fam | 36 | cmake_machine = fam |
@@ -106,7 +106,7 @@ python(){ | |||
106 | } | 106 | } |
107 | 107 | ||
108 | do_generate_driver_data[dirs] = "${B}" | 108 | do_generate_driver_data[dirs] = "${B}" |
109 | do_generate_driver_data[depends] += "device-tree-lops:do_deploy" | 109 | do_generate_driver_data[depends] += "device-tree:do_deploy" |
110 | python do_generate_driver_data() { | 110 | python do_generate_driver_data() { |
111 | import glob, subprocess, os | 111 | import glob, subprocess, os |
112 | 112 | ||