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 --- .../classes/esw.bbclass | 2 +- .../classes/esw_examples.bbclass | 4 +- .../empty-application/empty-application_git.bb | 2 +- .../freertos-hello-world_git.bb | 2 +- .../freertos-lwip-echo-server_git.bb | 4 +- .../freertos-lwip-tcp-perf-client_git.bb | 4 +- .../freertos-lwip-tcp-perf-server_git.bb | 4 +- .../freertos-lwip-udp-perf-client_git.bb | 4 +- .../freertos-lwip-udp-perf-server_git.bb | 4 +- .../hello-world/hello-world_git.bb | 2 +- .../lwip-echo-server/lwip-echo-server_git.bb | 4 +- .../lwip-tcp-perf-client_git.bb | 4 +- .../lwip-tcp-perf-server_git.bb | 4 +- .../lwip-udp-perf-client_git.bb | 4 +- .../lwip-udp-perf-server_git.bb | 4 +- .../memory-tests/memory-tests_git.bb | 2 +- .../peripheral-tests/peripheral-tests_git.bb | 4 +- .../recipes-core/meta/files/dt-processor.sh | 94 +++++++++++----------- .../recipes-drivers/clockps-example_git.bb | 2 +- .../recipes-drivers/common_git.bb | 4 +- .../recipes-drivers/ospipsv_git.bb | 2 +- .../recipes-drivers/uartlite_git.bb | 2 +- .../recipes-drivers/uartns550_git.bb | 2 +- .../recipes-drivers/uartps_git.bb | 2 +- .../recipes-drivers/uartpsv_git.bb | 2 +- .../recipes-drivers/v-frmbuf-rd_git.bb | 2 +- .../recipes-drivers/v-frmbuf-wr_git.bb | 2 +- .../recipes-libraries/freertos10-xilinx_git.bb | 2 +- .../recipes-libraries/libxil_git.bb | 2 +- .../recipes-libraries/lwip_git.bb | 2 +- .../recipes-libraries/xilffs-example_git.bb | 2 +- .../recipes-libraries/xilfpga-example_git.bb | 2 +- .../recipes-libraries/xilmailbox-example_git.bb | 4 +- .../recipes-libraries/xilnvm-example_git.bb | 2 +- .../recipes-libraries/xilpuf-example_git.bb | 2 +- .../recipes-libraries/xilsecure-example_git.bb | 2 +- .../recipes-libraries/xilstandalone_git.bb | 2 +- .../recipes-libraries/xiltimer_git.bb | 2 +- 38 files changed, 98 insertions(+), 98 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() { 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 diff --git a/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb index 653ae51a..99771f38 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb @@ -8,7 +8,7 @@ inherit python3native 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}/ install -m 0644 ${CUSTOM_SRCFILE}/* ${S}/${ESW_COMPONENT_SRC}/ diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb index 9bf220fe..e4a300d2 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil xilstandalone freertos10-xilinx xiltimer" 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}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb index ae6d8342..25610987 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer freertos10-xilinx" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb index 2380eaef..cec949f9 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer freertos10-xilinx" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb index 6a156c2d..a144ecfd 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer freertos10-xilinx" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb index bd532abf..3c3a27b0 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer freertos10-xilinx" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb index 83577806..8e532c3c 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer freertos10-xilinx" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb index 8d14acf2..9b66c129 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb @@ -8,7 +8,7 @@ inherit python3native 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}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb index 1aef0d73..d86e62a3 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb index 5db0c218..dd6501cf 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb index 211d9e55..1f7ae00c 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb index 42aa07fe..1b3105da 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb index b78499fe..be3d3d4b 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb @@ -6,7 +6,7 @@ DEPENDS += "libxil lwip xiltimer" 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 @@ do_configure:prepend() { do_generate_app_data() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot diff --git a/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb index 1bca8dc5..3e025962 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb @@ -8,7 +8,7 @@ inherit python3native do_configure:prepend() { cd ${S} - lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb index 6275ee07..61b60ad4 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb @@ -8,7 +8,7 @@ inherit python3native 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}/ } @@ -28,7 +28,7 @@ python do_generate_app_data() { bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) driver_name = d.getVar('REQUIRED_DISTRO_FEATURES') - command = ["lopper.py"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetal_gentestapp_xlnx"] + [machine] + [srcdir[0]] + command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetal_gentestapp_xlnx"] + [machine] + [srcdir[0]] subprocess.run(command, check = True) with open("file_list.txt", 'r') as fd: for line in fd: diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh index a8da5b4a..d0b719cb 100755 --- a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh +++ b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh @@ -107,21 +107,21 @@ cortex_a53_linux() { if [ "${overlay_dtb}" = "true" ]; then if [ "${external_fpga}" = "true" ]; then LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" -- xlnx_overlay_dt ${machine} full \ - || error "lopper.py failed" + || error "lopper failed" else LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dtb}" -- xlnx_overlay_dt ${machine} partial \ - || error "lopper.py failed" + || error "lopper failed" fi dtc -q -O dtb -o pl.dtbo -b 0 -@ pl.dtsi || error "dtc failed" elif [ -n "${domain_file}" ]; then LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --permissive --enhanced -x '*.yaml' \ -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" \ -i "${lops_dir}/lop-domain-linux-a53.dts" "${system_dtb}" "${dtb_file}" \ - || error "lopper.py failed" + || error "lopper failed" else LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ -i "${lops_dir}/lop-domain-linux-a53.dts" "${system_dtb}" "${dtb_file}" \ - || error "lopper.py failed" + || error "lopper failed" fi rm -f pl.dtsi lop-a53-imux.dts.dtb lop-domain-linux-a53.dts.dtb ) @@ -174,10 +174,10 @@ cortex_a53_baremetal() { if [ -n "${domain_file}" ]; then LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --permissive --enhanced -x '*.yaml' \ -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" "${system_dtb}" "${dtb_file}" \ - || error "lopper.py failed" + || error "lopper failed" else LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ - "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + "${system_dtb}" "${dtb_file}" || error "lopper failed" fi rm -f lop-a53-imux.dts.dtb ) @@ -186,10 +186,10 @@ cortex_a53_baremetal() { if [ -n "${domain_file}" ]; then ${lopper} -f --permissive --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ -- baremetaldrvlist_xlnx cortexa53-${machine} "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" else ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexa53-${machine} "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" fi mv libxil.conf "${libxil}" @@ -227,10 +227,10 @@ cortex_a53_freertos() { if [ -n "${domain_file}" ]; then LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --permissive --enhanced -x '*.yaml' \ -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" "${system_dtb}" "${dtb_file}" \ - || error "lopper.py failed" + || error "lopper failed" else LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ - "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + "${system_dtb}" "${dtb_file}" || error "lopper failed" fi rm -f lop-a53-imux.dts.dtb ) @@ -238,10 +238,10 @@ cortex_a53_freertos() { # Build baremetal multiconfig if [ -n "${domain_file}" ]; then ${lopper} -f --permissive --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ - -- baremetaldrvlist_xlnx cortexa53-${machine} "${embeddedsw}" || error "lopper.py failed" + -- baremetaldrvlist_xlnx cortexa53-${machine} "${embeddedsw}" || error "lopper failed" else ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexa53-${machine} "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" fi mv libxil.conf "${libxil}" @@ -282,21 +282,21 @@ cortex_a72_linux() { # a flag "external_fpga" which says apply overlay without loading the bit file. if [ "${external_fpga}" = "true" ]; then LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" -- xlnx_overlay_dt \ - ${machine} full external_fpga || error "lopper.py failed" + ${machine} full external_fpga || error "lopper failed" else # If there is no external_fpga flag, then the default is full LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dtb}" -- xlnx_overlay_dt \ - ${machine} full || error "lopper.py failed" + ${machine} full || error "lopper failed" fi dtc -q -O dtb -o pl.dtbo -b 0 -@ pl.dtsi || error "dtc failed" elif [ -n "${domain_file}" ]; then LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --permissive --enhanced -x '*.yaml' \ -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" \ -i "${lops_dir}/lop-domain-a72.dts" "${system_dtb}" "${dtb_file}" \ - || error "lopper.py failed" + || error "lopper failed" else LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \ - -i "${lops_dir}/lop-domain-a72.dts" "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + -i "${lops_dir}/lop-domain-a72.dts" "${system_dtb}" "${dtb_file}" || error "lopper failed" fi rm -f pl.dtsi lop-a72-imux.dts.dtb lop-domain-a72.dts.dtb ) @@ -335,10 +335,10 @@ cortex_a72_baremetal() { if [ -n "${domain_file}" ]; then LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --permissive --enhanced -x '*.yaml' \ -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" "${system_dtb}" "${dtb_file}" \ - || error "lopper.py failed" + || error "lopper failed" else LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \ - "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + "${system_dtb}" "${dtb_file}" || error "lopper failed" fi rm -f lop-a72-imux.dts.dtb ) @@ -346,10 +346,10 @@ cortex_a72_baremetal() { # Build baremetal multiconfig if [ -n "${domain_file}" ]; then ${lopper} -f --permissive --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ - -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" || error "lopper.py failed" + -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" || error "lopper failed" else ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" fi mv libxil.conf "${libxil}" @@ -385,12 +385,12 @@ cortex_a72_freertos() { ( cd dtb || error "Unable to cd to dtb dir" if [ -n "${domain_file}" ]; then - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --permissive --enhanced -x '*.yaml' \ + LOPPER_DTC_FLAGS="-b 0 -@" lopper -f --permissive --enhanced -x '*.yaml' \ -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" "${system_dtb}" "${dtb_file}" \ - || error "lopper.py failed" + || error "lopper failed" else LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \ - "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + "${system_dtb}" "${dtb_file}" || error "lopper failed" fi rm -f lop-a72-imux.dts.dtb ) @@ -398,10 +398,10 @@ cortex_a72_freertos() { # Build baremetal multiconfig if [ -n "${domain_file}" ]; then ${lopper} -f --permissive --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ - -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" || error "lopper.py failed" + -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" || error "lopper failed" else ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" fi mv libxil.conf "${libxil}" @@ -454,10 +454,10 @@ cortex_r5_baremetal() { if [ -n "$domain_file" ]; then LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --permissive --enhanced -x '*.yaml' \ -i "${domain_file}" -i "${lops_dir}/lop-r5-imux.dts" "${system_dtb}" "${dtb_file}" \ - || error "lopper.py failed" + || error "lopper failed" else LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-r5-imux.dts" \ - "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + "${system_dtb}" "${dtb_file}" || error "lopper failed" fi rm -f lop-r5-imux.dts.dtb ) @@ -465,10 +465,10 @@ cortex_r5_baremetal() { # Build baremetal multiconfig if [ -n "${domain_file}" ]; then ${lopper} -f --permissive --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ - -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" || error "lopper.py failed" + -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" || error "lopper failed" else ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" fi mv libxil.conf "${libxil}" @@ -506,10 +506,10 @@ cortex_r5_freertos() { if [ -n "$domain_file" ]; then LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --permissive --enhanced -x '*.yaml' \ -i "${domain_file}" -i "${lops_dir}/lop-r5-imux.dts" "${system_dtb}" "${dtb_file}" \ - || error "lopper.py failed" + || error "lopper failed" else LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-r5-imux.dts" \ - "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + "${system_dtb}" "${dtb_file}" || error "lopper failed" fi rm -f lop-r5-imux.dts.dtb ) @@ -517,10 +517,10 @@ cortex_r5_freertos() { # Build baremetal multiconfig if [ -n "${domain_file}" ]; then ${lopper} -f --permissive --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ - -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" || error "lopper.py failed" + -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" || error "lopper failed" else ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" fi mv libxil.conf "${libxil}" @@ -550,7 +550,7 @@ process_microblaze() { ( cd dtb || error "Unable to cd to dtb dir" ${lopper} -f --enhanced -i "${lops_dir}/lop-microblaze-yocto.dts" "${system_dtb}" \ - || error "lopper.py failed" + || error "lopper failed" rm -f lop-microblaze-yocto.dts.dtb ) >microblaze.conf @@ -575,16 +575,16 @@ pmu-microblaze() { # Build device tree ( cd dtb || error "Unable to cd to dtb dir" - LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" "${dtb_file}" || error "lopper failed" ) # Build baremetal multiconfig if [ -n "${domain_file}" ]; then ${lopper} -f --permissive --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ - -- baremetaldrvlist_xlnx microblaze-pmu "${embeddedsw}" || error "lopper.py failed" + -- baremetaldrvlist_xlnx microblaze-pmu "${embeddedsw}" || error "lopper failed" else ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx microblaze-pmu "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" fi mv libxil.conf "${libxil}" @@ -627,16 +627,16 @@ pmc-microblaze() { # Build device tree ( cd dtb || error "Unable to cd to dtb dir" - LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" "${dtb_file}" || error "lopper failed" ) # Build baremetal multiconfig if [ -n "${domain_file}" ]; then ${lopper} -f --permissive --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ - -- baremetaldrvlist_xlnx microblaze-plm "${embeddedsw}" || error "lopper.py failed" + -- baremetaldrvlist_xlnx microblaze-plm "${embeddedsw}" || error "lopper failed" else ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx microblaze-plm "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" fi mv libxil.conf "${libxil}" @@ -679,16 +679,16 @@ psm-microblaze() { # Build device tree ( cd dtb || error "Unable to cd to dtb dir" - LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" "${dtb_file}" || error "lopper.py failed" + LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" "${dtb_file}" || error "lopper failed" ) # Build baremetal multiconfig if [ -n "${domain_file}" ]; then ${lopper} -f --permissive --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ - -- baremetaldrvlist_xlnx microblaze-psm "${embeddedsw}" || error "lopper.py failed" + -- baremetaldrvlist_xlnx microblaze-psm "${embeddedsw}" || error "lopper failed" else ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx microblaze-psm "${embeddedsw}" \ - || error "lopper.py failed" + || error "lopper failed" fi mv libxil.conf "${libxil}" @@ -854,14 +854,14 @@ gen_local_conf() { parse_args "$@" -lopper=$(command -v lopper.py) +lopper=$(command -v lopper) lopper_dir=$(dirname "${lopper}") -lops_dir=$(dirname "${lopper_dir}")/share/lopper/lops +lops_dir=$(ls -d $(dirname "${lopper_dir}")/lib/python*/site-packages/lopper/lops | head -n 1) embeddedsw=$(dirname "${lopper_dir}")/share/embeddedsw system_conf="" multiconf="" -[ -z "${lopper}" ] && error "Unable to find lopper.py, please source the prestep environment" +[ -z "${lopper}" ] && error "Unable to find lopper, please source the prestep environment" # Generate CPU list cd "${config_dir}" || exit @@ -869,7 +869,7 @@ mkdir -p dtb multiconfig/includes ( cd dtb || error "Unable to cd to dtb dir" ${lopper} -f --enhanced -i "${lops_dir}/lop-xilinx-id-cpus.dts" "${system_dtb}" \ - /dev/null >"../cpu-list.tmp" || error "lopper.py failed" + /dev/null >"../cpu-list.tmp" || error "lopper failed" rm -f "lop-xilinx-id-cpus.dts.dtb" ) diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb index 8da16452..0bc67b11 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb @@ -10,7 +10,7 @@ inherit python3native 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}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb index 685e5585..d01a8cac 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb @@ -17,7 +17,7 @@ ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/common/src/" ESW_COMPONENT_NAME = "libcommon.a" do_configure:prepend() { - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/intc/src/ - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/scugic/src/ + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/intc/src/ + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/scugic/src/ install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb index cc71a89d..19cfe8ed 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb @@ -13,7 +13,7 @@ addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysr do_prepare_recipe_sysroot[rdeptask] = "do_unpack" do_configure:prepend() { - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb index 5d4e5a91..270ffb43 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb @@ -10,7 +10,7 @@ ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/src/" ESW_COMPONENT_NAME = "libuartlite.a" do_configure:prepend() { - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} install -m 0755 xuartlite_g.c ${S}/${ESW_COMPONENT_SRC} } diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb index a1c9b670..8e64457e 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb @@ -10,7 +10,7 @@ ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/src/" ESW_COMPONENT_NAME = "libuartns550.a" do_configure:prepend() { - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} install -m 0755 xuartns550_g.c ${S}/${ESW_COMPONENT_SRC} } diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb index 339450dd..c2247736 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb @@ -10,7 +10,7 @@ ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/src/" ESW_COMPONENT_NAME = "libuartps.a" do_configure:prepend() { - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 xuartps_g.c ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb index 1b285fd8..266f1db9 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb @@ -10,7 +10,7 @@ ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/src/" ESW_COMPONENT_NAME = "libuartpsv.a" do_configure:prepend() { - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 xuartpsv_g.c ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb index ee100489..da248701 100755 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb @@ -10,7 +10,7 @@ ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_rd/src/" ESW_COMPONENT_NAME = "libv_frmbuf_rd.a" do_configure:prepend() { - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 xv_frmbufrd_g.c ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb index 7c4d1230..f2ec3b27 100755 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb @@ -10,7 +10,7 @@ ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/src/" ESW_COMPONENT_NAME = "libv_frmbuf_wr.a" do_configure:prepend() { - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 xv_frmbufwr_g.c ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb index 4ad2a9e6..46c349bc 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb @@ -8,6 +8,6 @@ DEPENDS += "libxil xilstandalone xiltimer" do_configure:prepend() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb index 48482de4..4adfe46e 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb @@ -12,7 +12,7 @@ REQUIRED_DISTRO_FEATURES = "${DISTRO_FEATURES}" PACKAGECONFIG ?= "${DISTRO_FEATURES} ${MACHINE_FEATURES}" do_configure:prepend() { - LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb index 554e2636..09bf4192 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb @@ -16,7 +16,7 @@ EXTRA_OECMAKE:append:xilinx-freertos += "-Dlwip_api_mode=SOCKET_API" do_configure:prepend() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 xtopology_g.c ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb index 6df33ea0..d5c90bba 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb @@ -6,7 +6,7 @@ DEPENDS += "xilffs xiltimer" 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}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb index b3523ab7..e1af36e0 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb @@ -6,7 +6,7 @@ DEPENDS += "xilfpga" 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}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb index baadc4e7..0fb74a63 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb @@ -6,7 +6,7 @@ DEPENDS += "xilmailbox" 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}/ } @@ -16,7 +16,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} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb index 4528fe98..7a931ed4 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb @@ -6,7 +6,7 @@ DEPENDS += "xilnvm" 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}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb index ce56933c..64f49d71 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb @@ -6,7 +6,7 @@ DEPENDS += "xilpuf" 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}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb index d8253e59..3c424215 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb @@ -6,7 +6,7 @@ DEPENDS += "xilsecure" 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}/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb index 495fe6a8..447c3cc3 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb @@ -8,7 +8,7 @@ DEPENDS += "libgloss" do_configure:prepend() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + lopper ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} install -m 0755 MemConfig.cmake ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 *.c ${S}/${ESW_COMPONENT_SRC}/common/ } diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb index 3f93db74..0e25bbb7 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb @@ -8,6 +8,6 @@ DEPENDS += "libxil" do_configure:prepend() { # This script should also not rely on relative paths and such cd ${S} - lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ } -- cgit v1.2.3-54-g00ecf