diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2024-05-23 09:49:48 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 10:43:43 -0600 |
| commit | 3fb0ec778d76d509c30dcf1e07dcdd659f823be7 (patch) | |
| tree | cbc9c3a8458add6f673b3124ccbd8688767c934e /meta-xilinx-standalone-experimental/recipes-libraries | |
| parent | afad32c5d133a1f8a6e59e51d228161b9f47bb10 (diff) | |
| download | meta-xilinx-3fb0ec778d76d509c30dcf1e07dcdd659f823be7.tar.gz | |
meta-xilinx-standalone-sdt: Rename from ...-experimental
Add symlink to old name for temporarily compatibility.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-libraries')
24 files changed, 0 insertions, 485 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_2024.1.bb deleted file mode 100644 index 22d7955e..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_2024.1.bb +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | inherit esw python3native | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/ThirdParty/bsp/freertos10_xilinx/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libfreertos.a" | ||
| 5 | |||
| 6 | DEPENDS += "libxil xilstandalone xiltimer" | ||
| 7 | |||
| 8 | do_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-experimental/recipes-libraries/libxil_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_2024.1.bb deleted file mode 100644 index 2eb08307..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_2024.1.bb +++ /dev/null | |||
| @@ -1,55 +0,0 @@ | |||
| 1 | inherit esw python3native features_check | ||
| 2 | |||
| 3 | LIBXIL_CONFIG ??= "" | ||
| 4 | include ${LIBXIL_CONFIG} | ||
| 5 | |||
| 6 | # The python code allows us to use an include above, instead of require | ||
| 7 | # as it enforces that the file will be available for inclusion. It also | ||
| 8 | # gives the user feedback if something isn't configured properly. | ||
| 9 | python () { | ||
| 10 | libxil_cfg = d.getVar("LIBXIL_CONFIG") | ||
| 11 | if libxil_cfg: | ||
| 12 | bbpath = d.getVar('BBPATH') | ||
| 13 | libxil_path = bb.utils.which(bbpath, libxil_cfg) | ||
| 14 | if libxil_path: | ||
| 15 | return | ||
| 16 | else: | ||
| 17 | d.setVar('BB_DONT_CACHE', '1') | ||
| 18 | bb.parse.SkipRecipe("LIBXIL_CONFIG (%s) was not found." % libxil_cfg) | ||
| 19 | else: | ||
| 20 | d.setVar('BB_DONT_CACHE', '1') | ||
| 21 | raise bb.parse.SkipRecipe("No LIBXIL_CONFIG set.") | ||
| 22 | } | ||
| 23 | |||
| 24 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" | ||
| 25 | ESW_COMPONENT_NAME = "libxil.a" | ||
| 26 | |||
| 27 | DEPENDS += "xilstandalone " | ||
| 28 | MACHINE_FEATURES:remove = "aiengine dfeccf dfeequ dfemix dfeprach rfdc dfeofdm" | ||
| 29 | REQUIRED_MACHINE_FEATURES = "${MACHINE_FEATURES}" | ||
| 30 | PACKAGECONFIG ?= "${MACHINE_FEATURES}" | ||
| 31 | |||
| 32 | do_compile() { | ||
| 33 | # Combines the .a archives produced by all of the dependent items | ||
| 34 | cd ${RECIPE_SYSROOT}/usr/lib/ | ||
| 35 | echo create libxil.a > libxil.mri | ||
| 36 | for each in ${REQUIRED_MACHINE_FEATURES}; do | ||
| 37 | each=$(echo $each | sed 's/-/_/g') | ||
| 38 | if [ -e lib$each.a ]; then | ||
| 39 | echo addlib lib$each.a >> libxil.mri | ||
| 40 | fi | ||
| 41 | done | ||
| 42 | echo “save” >> libxil.mri | ||
| 43 | echo “end” >> libxil.mri | ||
| 44 | ${AR} -M <libxil.mri | ||
| 45 | cp libxil.a ${B} | ||
| 46 | } | ||
| 47 | |||
| 48 | do_install() { | ||
| 49 | install -d ${D}${libdir} | ||
| 50 | install -m 0755 ${B}/${ESW_COMPONENT_NAME} ${D}${libdir} | ||
| 51 | |||
| 52 | # Install Spec files for consumers of BSP | ||
| 53 | install -d ${D}${includedir} | ||
| 54 | cp -rf ${SPECFILE_PATH} ${D}${includedir} | ||
| 55 | } | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_2024.1.bb deleted file mode 100644 index e70dfa11..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_2024.1.bb +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | inherit esw python3native | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip220/src/" | ||
| 4 | ESW_COMPONENT_NAME = "liblwip220.a" | ||
| 5 | |||
| 6 | DEPENDS += "libxil" | ||
| 7 | DEPENDS:append:xilinx-freertos = "freertos10-xilinx" | ||
| 8 | |||
| 9 | EXTRA_OECMAKE += "-Dlwip220_api_mode=RAW_API" | ||
| 10 | EXTRA_OECMAKE += "-Dlwip220_dhcp_does_arp_check=ON" | ||
| 11 | EXTRA_OECMAKE += "-Dlwip220_dhcp=ON" | ||
| 12 | EXTRA_OECMAKE += "-Dlwip220_pbuf_pool_size=2048" | ||
| 13 | EXTRA_OECMAKE += "-Dlwip220_ipv6_enable=OFF" | ||
| 14 | EXTRA_OECMAKE:append:xilinx-freertos = " -Dlwip220_api_mode=SOCKET_API" | ||
| 15 | |||
| 16 | do_configure:prepend() { | ||
| 17 | # This script should also not rely on relative paths and such | ||
| 18 | ( | ||
| 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 | install -m 0755 xtopology_g.c ${S}/${ESW_COMPONENT_SRC}/ | ||
| 23 | ) | ||
| 24 | } | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | install -d ${D}${libdir} | ||
| 28 | install -d ${D}${includedir} | ||
| 29 | install -m 0755 ${B}/${ESW_COMPONENT_NAME} ${D}${libdir} | ||
| 30 | install -m 0644 ${B}/include/*.h ${D}${includedir} | ||
| 31 | cp -r ${B}/include/arch/ ${D}${includedir} | ||
| 32 | cp -r ${B}/include/include/lwip/ ${D}${includedir} | ||
| 33 | cp -r ${B}/include/netif/ ${D}${includedir} | ||
| 34 | } | ||
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 deleted file mode 100644 index 0cef7d97..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_2024.1.bb +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | inherit esw deploy | ||
| 2 | |||
| 3 | # Requires by dependency xilffs | ||
| 4 | REQUIRED_MACHINE_FEATURES = "sdps" | ||
| 5 | |||
| 6 | ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/" | ||
| 7 | |||
| 8 | DEPENDS += "xilffs xiltimer" | ||
| 9 | |||
| 10 | do_configure:prepend() { | ||
| 11 | ( | ||
| 12 | cd ${S} | ||
| 13 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
| 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
| 15 | ) | ||
| 16 | } | ||
| 17 | |||
| 18 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
| 19 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
| 20 | |||
| 21 | do_install() { | ||
| 22 | install -d ${D}/${base_libdir}/firmware | ||
| 23 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
| 24 | } | ||
| 25 | |||
| 26 | do_deploy() { | ||
| 27 | install -d ${DEPLOYDIR}/${BPN}/ | ||
| 28 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
| 29 | } | ||
| 30 | addtask deploy before do_build after do_package | ||
| 31 | |||
| 32 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_2024.1.bb deleted file mode 100644 index b7e0784a..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_2024.1.bb +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilffs.a" | ||
| 5 | |||
| 6 | PACKAGECONFIG ??= "read_only word_access" | ||
| 7 | PACKAGECONFIG[use_mkfs] ="-DXILFFS_use_mkfs=ON,-DXILFFS_use_mkfs=OFF,," | ||
| 8 | PACKAGECONFIG[read_only] ="-DXILFFS_read_only=ON,-DXILFFS_read_only=OFF,," | ||
| 9 | PACKAGECONFIG[word_access]="-DXILFFS_word_access=ON,-DXILFFS_word_access=OFF,," | ||
| 10 | |||
| 11 | EXTRA_OECMAKE += "${@'-DXILFFS_num_logical_vol=10 -DXILFFS_enable_multi_partition=ON' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" | ||
| 12 | |||
| 13 | DEPENDS += "xilstandalone libxil" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_2024.1.bb deleted file mode 100644 index a793fa86..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_2024.1.bb +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | inherit esw deploy | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilfpga/examples/" | ||
| 4 | |||
| 5 | DEPENDS += "xilfpga" | ||
| 6 | |||
| 7 | do_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 | |||
| 15 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
| 16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | install -d ${D}/${base_libdir}/firmware | ||
| 20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
| 21 | } | ||
| 22 | |||
| 23 | do_deploy() { | ||
| 24 | install -d ${DEPLOYDIR}/${BPN}/ | ||
| 25 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
| 26 | } | ||
| 27 | addtask deploy before do_build after do_package | ||
| 28 | |||
| 29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_2024.1.bb deleted file mode 100644 index 6eaf40ac..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_2024.1.bb +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilfpga/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilfpga.a" | ||
| 5 | |||
| 6 | DEPENDS += "libxil xilsecure" | ||
| 7 | DEPENDS += "libxil ${@'xilmailbox' if d.getVar('MACHINE') == 'versal-generic' else ''}" | ||
| 8 | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_2024.1.bb deleted file mode 100644 index 4f01407e..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_2024.1.bb +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilloader/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilloader.a" | ||
| 5 | |||
| 6 | #DEPENDS += "xilstandalone libxil xilpdi xilffs xilsecure xilpuf xilplmi" | ||
| 7 | DEPENDS += "xilstandalone libxil xilpm xilpdi xilffs xilsecure xilpuf xilsem" | ||
| 8 | |||
| 9 | DEPENDS += "cframe" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_2024.1.bb deleted file mode 100644 index 518b24c3..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_2024.1.bb +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | inherit esw deploy | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilmailbox/examples/" | ||
| 4 | |||
| 5 | DEPENDS += "xilmailbox" | ||
| 6 | |||
| 7 | do_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 | |||
| 15 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
| 16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
| 17 | |||
| 18 | do_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 | |||
| 24 | addtask generate_eglist before do_configure after do_prepare_recipe_sysroot | ||
| 25 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
| 26 | |||
| 27 | do_install() { | ||
| 28 | install -d ${D}/${base_libdir}/firmware | ||
| 29 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
| 30 | } | ||
| 31 | |||
| 32 | do_deploy() { | ||
| 33 | install -d ${DEPLOYDIR}/${BPN}/ | ||
| 34 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
| 35 | } | ||
| 36 | addtask deploy before do_build after do_package | ||
| 37 | |||
| 38 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_2024.1.bb deleted file mode 100644 index 77115515..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_2024.1.bb +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilmailbox/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilmailbox.a" | ||
| 5 | |||
| 6 | DEPENDS += "xilstandalone libxil xiltimer" | ||
| 7 | |||
| 8 | do_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-experimental/recipes-libraries/xilnvm-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_2024.1.bb deleted file mode 100644 index 9d91751c..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_2024.1.bb +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | inherit esw deploy | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/examples/" | ||
| 4 | |||
| 5 | PACKAGECONFIG ??= "client server" | ||
| 6 | PACKAGECONFIG[client] ="-DXILNVM_mode="client",," | ||
| 7 | PACKAGECONFIG[server] ="-DXILNVM_mode="server",," | ||
| 8 | |||
| 9 | DEPENDS += "xilnvm" | ||
| 10 | |||
| 11 | do_configure:prepend() { | ||
| 12 | ( | ||
| 13 | cd ${S} | ||
| 14 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
| 15 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
| 16 | ) | ||
| 17 | } | ||
| 18 | |||
| 19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
| 20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
| 21 | |||
| 22 | do_install() { | ||
| 23 | install -d ${D}/${base_libdir}/firmware | ||
| 24 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
| 25 | } | ||
| 26 | |||
| 27 | do_deploy() { | ||
| 28 | install -d ${DEPLOYDIR}/${BPN}/ | ||
| 29 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
| 30 | } | ||
| 31 | addtask deploy before do_build after do_package | ||
| 32 | |||
| 33 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_2024.1.bb deleted file mode 100644 index 8aa1250d..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_2024.1.bb +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilnvm.a" | ||
| 5 | |||
| 6 | PACKAGECONFIG ??= "client server" | ||
| 7 | PACKAGECONFIG[client] ="-DXILNVM_mode="client",," | ||
| 8 | PACKAGECONFIG[server] ="-DXILNVM_mode="server",," | ||
| 9 | |||
| 10 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpdi_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpdi_2024.1.bb deleted file mode 100644 index c008b069..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpdi_2024.1.bb +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpdi/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilpdi.a" | ||
| 5 | |||
| 6 | DEPENDS += "xilstandalone libxil" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilplmi_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilplmi_2024.1.bb deleted file mode 100644 index cb3b7831..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilplmi_2024.1.bb +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilplmi/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilplmi.a" | ||
| 5 | |||
| 6 | DEPENDS += "xilstandalone libxil cfupmc xiltimer ${@'xilmailbox' if d.getVar('ESW_MACHINE') == 'psv_cortexa72_0' or d.getVar('ESW_MACHINE') == 'psv_cortexr5_0' else ''}" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_2024.1.bb deleted file mode 100644 index 69b505c8..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_2024.1.bb +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | inherit esw python3native | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilpm.a" | ||
| 5 | |||
| 6 | DEPENDS += "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" | ||
| 7 | |||
| 8 | do_configure:prepend:zynqmp() { | ||
| 9 | # This script should also not rely on relative paths and such | ||
| 10 | ( | ||
| 11 | cd ${S} | ||
| 12 | lopper -f --enhanced --werror ${DTS_FILE} -- generate_config_object pm_cfg_obj.c ${ESW_MACHINE} | ||
| 13 | install -m 0755 pm_cfg_obj.c ${S}/${ESW_COMPONENT_SRC}/zynqmp/client/common/ | ||
| 14 | ) | ||
| 15 | } | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_2024.1.bb deleted file mode 100644 index 114449e9..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_2024.1.bb +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | inherit esw deploy | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/examples/" | ||
| 4 | |||
| 5 | PACKAGECONFIG ??= "client server" | ||
| 6 | PACKAGECONFIG[client] ="-DXILPUF_Mode="client",," | ||
| 7 | PACKAGECONFIG[server] ="-DXILPUF_Mode="server",," | ||
| 8 | |||
| 9 | DEPENDS += "xilpuf xilsecure xilmailbox xilnvm xilplmi" | ||
| 10 | |||
| 11 | do_configure:prepend() { | ||
| 12 | ( | ||
| 13 | cd ${S} | ||
| 14 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
| 15 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
| 16 | ) | ||
| 17 | } | ||
| 18 | |||
| 19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
| 20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
| 21 | |||
| 22 | do_install() { | ||
| 23 | install -d ${D}/${base_libdir}/firmware | ||
| 24 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
| 25 | } | ||
| 26 | |||
| 27 | do_deploy() { | ||
| 28 | install -d ${DEPLOYDIR}/${BPN}/ | ||
| 29 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
| 30 | } | ||
| 31 | addtask deploy before do_build after do_package | ||
| 32 | |||
| 33 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_2024.1.bb deleted file mode 100644 index 84765a39..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_2024.1.bb +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilpuf.a" | ||
| 5 | |||
| 6 | PACKAGECONFIG ??= "client server" | ||
| 7 | PACKAGECONFIG[client] ="-DXILPUF_Mode="client",," | ||
| 8 | PACKAGECONFIG[server] ="-DXILPUF_Mode="server",," | ||
| 9 | |||
| 10 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_2024.1.bb deleted file mode 100644 index a806c4ee..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_2024.1.bb +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | inherit esw deploy | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/examples/" | ||
| 4 | |||
| 5 | PACKAGECONFIG ??= "client server" | ||
| 6 | PACKAGECONFIG[client] ="-DXILSECURE_mode="client",," | ||
| 7 | PACKAGECONFIG[server] ="-DXILSECURE_mode="server",," | ||
| 8 | |||
| 9 | DEPENDS += "xilsecure" | ||
| 10 | |||
| 11 | do_configure:prepend() { | ||
| 12 | ( | ||
| 13 | cd ${S} | ||
| 14 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
| 15 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
| 16 | ) | ||
| 17 | } | ||
| 18 | |||
| 19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
| 20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
| 21 | |||
| 22 | do_install() { | ||
| 23 | install -d ${D}/${base_libdir}/firmware | ||
| 24 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
| 25 | } | ||
| 26 | |||
| 27 | do_deploy() { | ||
| 28 | install -d ${DEPLOYDIR}/${BPN}/ | ||
| 29 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
| 30 | } | ||
| 31 | addtask deploy before do_build after do_package | ||
| 32 | |||
| 33 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_2024.1.bb deleted file mode 100644 index be22ba90..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_2024.1.bb +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilsecure.a" | ||
| 5 | |||
| 6 | PACKAGECONFIG ??= "client server" | ||
| 7 | PACKAGECONFIG[client] ="-DXILSECURE_mode="client",," | ||
| 8 | PACKAGECONFIG[server] ="-DXILSECURE_mode="server",," | ||
| 9 | |||
| 10 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' or d.getVar('ESW_MACHINE') == 'psv_cortexa72_0' or d.getVar('ESW_MACHINE') == 'psv_cortexr5_0' else ''} ${@'xilmailbox' if d.getVar('ESW_MACHINE') == 'psv_cortexa72_0' or d.getVar('ESW_MACHINE') == 'psv_cortexr5_0' else ''}" | ||
| 11 | |||
| 12 | do_install:append() { | ||
| 13 | install -m 0755 ${B}/*.a ${D}${libdir} | ||
| 14 | } | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsem_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsem_2024.1.bb deleted file mode 100644 index 3631d7f0..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsem_2024.1.bb +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsem/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilsem.a" | ||
| 5 | |||
| 6 | DEPENDS += "xilstandalone libxil" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilskey-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilskey-example_2024.1.bb deleted file mode 100644 index 5702beaf..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilskey-example_2024.1.bb +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | inherit esw deploy | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilskey/examples/" | ||
| 4 | |||
| 5 | DEPENDS += "xilskey xilsecure" | ||
| 6 | |||
| 7 | do_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 | |||
| 15 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
| 16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | install -d ${D}/${base_libdir}/firmware | ||
| 20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
| 21 | } | ||
| 22 | |||
| 23 | do_deploy() { | ||
| 24 | install -d ${DEPLOYDIR}/${BPN}/ | ||
| 25 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
| 26 | } | ||
| 27 | addtask deploy before do_build after do_package | ||
| 28 | |||
| 29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilskey_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilskey_2024.1.bb deleted file mode 100644 index 84782554..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilskey_2024.1.bb +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | inherit esw | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilskey/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilskey.a" | ||
| 5 | |||
| 6 | DEPENDS += "libxil" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_2024.1.bb deleted file mode 100644 index a4b0037b..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_2024.1.bb +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | inherit esw python3native | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/bsp/standalone/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxilstandalone.a" | ||
| 5 | |||
| 6 | DEPENDS += "libgloss" | ||
| 7 | |||
| 8 | do_configure:prepend() { | ||
| 9 | # This script should also not rely on relative paths and such | ||
| 10 | ( | ||
| 11 | cd ${S} | ||
| 12 | lopper ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
| 13 | install -m 0755 MemConfig.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
| 14 | install -m 0755 *.c ${S}/${ESW_COMPONENT_SRC} | ||
| 15 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
| 16 | install -m 0755 StandaloneExample.cmake ${S}/${ESW_COMPONENT_SRC}/common/ | ||
| 17 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} | ||
| 18 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/common/ | ||
| 19 | ) | ||
| 20 | |||
| 21 | } | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_2024.1.bb deleted file mode 100644 index dd19671d..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_2024.1.bb +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | inherit esw python3native | ||
| 2 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xiltimer/src/" | ||
| 4 | ESW_COMPONENT_NAME = "libxiltimer.a" | ||
| 5 | |||
| 6 | DEPENDS += "libxil" | ||
| 7 | |||
| 8 | do_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 | } | ||
