diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2024-10-03 23:17:46 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-10-09 08:34:47 -0500 |
| commit | 58b8f26b0a92d423c497d759aeccf2c45165d4d1 (patch) | |
| tree | f5d964c291cc4613df7c5be04800b85f11f81eba /meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2023.1.bb | |
| parent | 40fd45d99aad270d1b3010ade5890e11c7afc865 (diff) | |
| download | meta-xilinx-58b8f26b0a92d423c497d759aeccf2c45165d4d1.tar.gz | |
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 <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2023.1.bb')
| -rw-r--r-- | meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2023.1.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2023.1.bb b/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2023.1.bb new file mode 100644 index 00000000..e183b853 --- /dev/null +++ b/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2023.1.bb | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | SUMMARY = "Linux dfeofdm library" | ||
| 2 | SECTION = "libdfeofdm" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | |||
| 5 | inherit pkgconfig xlnx-embeddedsw features_check | ||
| 6 | |||
| 7 | REQUIRED_MACHINE_FEATURES = "rfsoc" | ||
| 8 | |||
| 9 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 14 | |||
| 15 | DEPENDS = "libmetal" | ||
| 16 | |||
| 17 | PROVIDES = "libdfeofdm" | ||
| 18 | |||
| 19 | DFEOFDM_SUBDIR = "XilinxProcessorIPLib/drivers/dfeofdm/src" | ||
| 20 | |||
| 21 | do_compile:prepend() { | ||
| 22 | cd ${S}/${DFEOFDM_SUBDIR} | ||
| 23 | cp Makefile.Linux Makefile | ||
| 24 | } | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | install -d ${D}${libdir} | ||
| 28 | install -d ${D}${includedir} | ||
| 29 | |||
| 30 | cd ${S}/${DFEOFDM_SUBDIR} | ||
| 31 | oe_libinstall -so libdfeofdm ${D}${libdir} | ||
| 32 | install -m 0644 xdfeofdm_hw.h ${D}${includedir}/xdfeofdm_hw.h | ||
| 33 | install -m 0644 xdfeofdm.h ${D}${includedir}/xdfeofdm.h | ||
| 34 | } | ||
| 35 | |||
| 36 | FILES:${PN} = "${libdir}/*.so.*" | ||
| 37 | FILES:${PN}-dev = "${libdir}/*.so ${includedir}/*" | ||
