From 5d28e5640859bc6f275b804e1344c6dd17e5a492 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 4 Mar 2022 16:30:06 -0800 Subject: 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 --- meta-xilinx-standalone-experimental/classes/esw.bbclass | 2 +- meta-xilinx-standalone-experimental/classes/esw_examples.bbclass | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'meta-xilinx-standalone-experimental/classes') 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() { bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) os.chdir(d.getVar('B')) - command = ["lopper.py"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] + command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] subprocess.run(command, check = True) src_file = str("x") + driver_name.replace('-', '_') + str("_g.c") 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 do_configure:prepend() { cd ${S} - lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } @@ -14,7 +14,7 @@ EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" do_generate_eglist () { cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} drvcmake_metadata + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} drvcmake_metadata install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask generate_eglist before do_configure after do_prepare_recipe_sysroot -- cgit v1.2.3-54-g00ecf