From 31bf72a28f896079942bfe3e3a5698bb6b75e461 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 19 Oct 2023 18:51:10 -0500 Subject: meta-xilinx-standalone-experimental: Rename _git to _2024.1 The xlnx-embeddedsw class chooses the correct source based on the PV. Update the PV, as the code is now integrated. Signed-off-by: Mark Hatle --- .../recipes-libraries/xilffs-example_2024.1.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_2024.1.bb (limited to 'meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_2024.1.bb') diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_2024.1.bb new file mode 100644 index 00000000..cae39d17 --- /dev/null +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_2024.1.bb @@ -0,0 +1,32 @@ +inherit esw deploy + +# Requires by dependency xilffs +REQUIRED_MACHINE_FEATURES = "sdps" + +ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/" + +DEPENDS += "xilffs xiltimer" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + ) +} + +ESW_CUSTOM_LINKER_FILE ?= "None" +EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" + +do_install() { + install -d ${D}/${base_libdir}/firmware + install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware +} + +do_deploy() { + install -d ${DEPLOYDIR}/${BPN}/ + install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ +} +addtask deploy before do_build after do_package + +FILES:${PN} = "${base_libdir}/firmware/*.elf" -- cgit v1.2.3-54-g00ecf