diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2022-03-04 16:30:06 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-03-07 11:59:10 -0800 |
commit | 5d28e5640859bc6f275b804e1344c6dd17e5a492 (patch) | |
tree | f1bc1fb240c8410aeaddeb90ec96095dc63e45b4 /meta-xilinx-standalone-experimental/classes | |
parent | 034c7de08dc5211f575f7b0486528b408e348765 (diff) | |
download | meta-xilinx-5d28e5640859bc6f275b804e1344c6dd17e5a492.tar.gz |
meta-xilinx-standalone-experimental: Change from lopper.py to lopper
Upgrade of lopper changed the executable name to lopper. Switch all of
the users.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/classes')
-rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw.bbclass | 2 | ||||
-rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw_examples.bbclass | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass index c650d5bf..efecb1f9 100644 --- a/meta-xilinx-standalone-experimental/classes/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass | |||
@@ -125,7 +125,7 @@ python do_generate_driver_data() { | |||
125 | bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) | 125 | bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) |
126 | 126 | ||
127 | os.chdir(d.getVar('B')) | 127 | os.chdir(d.getVar('B')) |
128 | command = ["lopper.py"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] | 128 | command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] |
129 | subprocess.run(command, check = True) | 129 | subprocess.run(command, check = True) |
130 | src_file = str("x") + driver_name.replace('-', '_') + str("_g.c") | 130 | src_file = str("x") + driver_name.replace('-', '_') + str("_g.c") |
131 | if os.path.exists(src_file): | 131 | if os.path.exists(src_file): |
diff --git a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass index 3ae01ac1..64e0810c 100644 --- a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass | |||
@@ -4,7 +4,7 @@ DEPENDS += "python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltim | |||
4 | 4 | ||
5 | do_configure:prepend() { | 5 | do_configure:prepend() { |
6 | cd ${S} | 6 | cd ${S} |
7 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 7 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
8 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 8 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
9 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 9 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
10 | } | 10 | } |
@@ -14,7 +14,7 @@ EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | |||
14 | 14 | ||
15 | do_generate_eglist () { | 15 | do_generate_eglist () { |
16 | cd ${S} | 16 | cd ${S} |
17 | lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} drvcmake_metadata | 17 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} drvcmake_metadata |
18 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 18 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
19 | } | 19 | } |
20 | addtask generate_eglist before do_configure after do_prepare_recipe_sysroot | 20 | addtask generate_eglist before do_configure after do_prepare_recipe_sysroot |