From 58b8f26b0a92d423c497d759aeccf2c45165d4d1 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Thu, 3 Oct 2024 23:17:46 -0600 Subject: recipes-bsp: Add lib prefix for rf and dfe recipes Add lib prefix for rf and dfe recipes as these recipes names conflicts with multiconfig rf and dfe baremetal drive recipes. Since these are linux libraries add lib prefix to recipes. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- .../recipes-bsp/libdfeofdm/libdfeofdm_2024.1.bb | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.1.bb (limited to 'meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.1.bb') diff --git a/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.1.bb b/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.1.bb new file mode 100644 index 00000000..e183b853 --- /dev/null +++ b/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.1.bb @@ -0,0 +1,37 @@ +SUMMARY = "Linux dfeofdm library" +SECTION = "libdfeofdm" +LICENSE = "BSD-3-Clause" + +inherit pkgconfig xlnx-embeddedsw features_check + +REQUIRED_MACHINE_FEATURES = "rfsoc" + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +DEPENDS = "libmetal" + +PROVIDES = "libdfeofdm" + +DFEOFDM_SUBDIR = "XilinxProcessorIPLib/drivers/dfeofdm/src" + +do_compile:prepend() { + cd ${S}/${DFEOFDM_SUBDIR} + cp Makefile.Linux Makefile +} + +do_install() { + install -d ${D}${libdir} + install -d ${D}${includedir} + + cd ${S}/${DFEOFDM_SUBDIR} + oe_libinstall -so libdfeofdm ${D}${libdir} + install -m 0644 xdfeofdm_hw.h ${D}${includedir}/xdfeofdm_hw.h + install -m 0644 xdfeofdm.h ${D}${includedir}/xdfeofdm.h +} + +FILES:${PN} = "${libdir}/*.so.*" +FILES:${PN}-dev = "${libdir}/*.so ${includedir}/*" -- cgit v1.2.3-54-g00ecf