summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2024-08-05 19:25:48 -0600
committerMark Hatle <mark.hatle@amd.com>2024-08-08 18:00:57 -0500
commit7a5357c4c9639f22e7449eeb55c7b6473a22b553 (patch)
tree99894d15856504738ebfe513bdf4bb7e8222a181
parentbc4e1eb590069d050ab5d7266894692939369324 (diff)
downloadmeta-xilinx-7a5357c4c9639f22e7449eeb55c7b6473a22b553.tar.gz
recipes-libraries: Add recipe for xilrsa
Add recipe for xilrsa library, Also zynq-7000 fsbl depends on this library. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.1.bb15
-rw-r--r--meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.2.bb15
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.1.bb
new file mode 100644
index 00000000..3337dce9
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.1.bb
@@ -0,0 +1,15 @@
1inherit esw python3native
2
3ESW_COMPONENT_SRC = "/lib/sw_services/xilrsa/src/"
4ESW_COMPONENT_NAME = "libxilrsa.a"
5
6DEPENDS += "libxil"
7
8do_configure:prepend() {
9 # This script should also not rely on relative paths and such
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 )
15}
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.2.bb
new file mode 100644
index 00000000..3337dce9
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.2.bb
@@ -0,0 +1,15 @@
1inherit esw python3native
2
3ESW_COMPONENT_SRC = "/lib/sw_services/xilrsa/src/"
4ESW_COMPONENT_NAME = "libxilrsa.a"
5
6DEPENDS += "libxil"
7
8do_configure:prepend() {
9 # This script should also not rely on relative paths and such
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 )
15}