summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2023-10-19 18:51:10 -0500
committerMark Hatle <mark.hatle@amd.com>2023-10-31 09:43:06 -0500
commit31bf72a28f896079942bfe3e3a5698bb6b75e461 (patch)
tree5dddbe2f27f0971aa07d634b96ec21b11b73d151 /meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb
parent4539ea952092c96dd7c8dece1524a93c340920d9 (diff)
downloadmeta-xilinx-31bf72a28f896079942bfe3e3a5698bb6b75e461.tar.gz
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 <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb')
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb
deleted file mode 100644
index 600369ad..00000000
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1inherit esw deploy
2
3ESW_COMPONENT_SRC = "/lib/sw_services/xilmailbox/examples/"
4
5DEPENDS += "xilmailbox"
6
7do_configure:prepend() {
8 (
9 cd ${S}
10 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
12 )
13}
14
15ESW_CUSTOM_LINKER_FILE ?= "None"
16EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}"
17
18do_generate_eglist () {
19 cd ${S}
20 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
21 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
22}
23
24addtask generate_eglist before do_configure after do_prepare_recipe_sysroot
25do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
26
27do_install() {
28 install -d ${D}/${base_libdir}/firmware
29 install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware
30}
31
32do_deploy() {
33 install -d ${DEPLOYDIR}/${BPN}/
34 install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/
35}
36addtask deploy before do_build after do_package
37
38FILES:${PN} = "${base_libdir}/firmware/*.elf"