summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/classes/esw.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2021-09-13 12:48:40 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2021-09-28 08:20:16 -0700
commitd1f455cfd8b502a069858b51771bb36c8fbb122a (patch)
tree998f74983fd0891009716bad9d39ccfa085d5139 /meta-xilinx-standalone-experimental/classes/esw.bbclass
parentaba5951e6fb6ddfc37075eb65eafacb54a7b9c3e (diff)
downloadmeta-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.bbclass12
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
23COMPATIBLE_HOST = ".*-elf" 23COMPATIBLE_HOST = ".*-elf"
24COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" 24COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi"
25 25
26DTS_FILE = "${DEPLOY_DIR_IMAGE}/${ESW_MACHINE}-baremetal.dtb" 26DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
27 27
28DEPENDS += "python3-pyyaml-native lopper-native device-tree-lops python3-dtc-native" 28DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native"
29 29
30# We need the deployed output 30# We need the deployed output
31do_configure[depends] += "device-tree-lops:do_deploy" 31do_configure[depends] += "device-tree:do_deploy"
32do_compile[depends] += "device-tree-lops:do_deploy" 32do_compile[depends] += "device-tree:do_deploy"
33do_install[depends] += "device-tree-lops:do_deploy" 33do_install[depends] += "device-tree:do_deploy"
34 34
35def get_xlnx_cmake_machine(fam, d): 35def get_xlnx_cmake_machine(fam, d):
36 cmake_machine = fam 36 cmake_machine = fam
@@ -106,7 +106,7 @@ python(){
106} 106}
107 107
108do_generate_driver_data[dirs] = "${B}" 108do_generate_driver_data[dirs] = "${B}"
109do_generate_driver_data[depends] += "device-tree-lops:do_deploy" 109do_generate_driver_data[depends] += "device-tree:do_deploy"
110python do_generate_driver_data() { 110python do_generate_driver_data() {
111 import glob, subprocess, os 111 import glob, subprocess, os
112 112