diff options
author | Mark Hatle <mark.hatle@amd.com> | 2023-08-03 13:44:04 -0500 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-08-08 11:22:17 -0500 |
commit | 2de4f60b0c7e011cf3de412626ff4a15c959bbdc (patch) | |
tree | 5ba6d3f5c2eb857c267bbe9920c9ea16b6c5fef9 | |
parent | 74f18537e4247e3fbcd21214c425610411cc8299 (diff) | |
download | meta-xilinx-2de4f60b0c7e011cf3de412626ff4a15c959bbdc.tar.gz |
libmcdi: Update integration to latest version of the code
Linking now takes into account LDFLAGS, so the TARGET_CC_ARCH is no longer needed.
do_install was missing header file installation, this has been resolved in the
updated: make install
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-dpdk/recipes-extended/dpdk/libmcdi_0.1.0.bb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/meta-dpdk/recipes-extended/dpdk/libmcdi_0.1.0.bb b/meta-dpdk/recipes-extended/dpdk/libmcdi_0.1.0.bb index a154664f..31b3b7a2 100644 --- a/meta-dpdk/recipes-extended/dpdk/libmcdi_0.1.0.bb +++ b/meta-dpdk/recipes-extended/dpdk/libmcdi_0.1.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=838c366f69b72c5df05c96dff79b35f2" | |||
5 | 5 | ||
6 | SRC_URI = "git://github.com/Xilinx-CNS/mcdi-lib.git;branch=${BRANCH};protocol=https" | 6 | SRC_URI = "git://github.com/Xilinx-CNS/mcdi-lib.git;branch=${BRANCH};protocol=https" |
7 | BRANCH = "master" | 7 | BRANCH = "master" |
8 | SRCREV = "00e8422cbfc62c90b3a925b734b6c0caa2481540" | 8 | SRCREV = "db448189e5fcb38b4750faf6afe243d7998863bc" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
11 | 11 | ||
@@ -14,16 +14,12 @@ COMPATIBLE_MACHINE:versal-net = "${MACHINE}" | |||
14 | 14 | ||
15 | INSTALL_PATH = "${prefix}/share/${PN}/examples" | 15 | INSTALL_PATH = "${prefix}/share/${PN}/examples" |
16 | 16 | ||
17 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
18 | |||
19 | do_compile() { | 17 | do_compile() { |
20 | oe_runmake all CC="${CC}" CROSS_COMPILE="${TARGET_PREFIX}" | 18 | oe_runmake all CC="${CC}" CROSS_COMPILE="${TARGET_PREFIX}" |
21 | } | 19 | } |
22 | 20 | ||
23 | do_install() { | 21 | do_install() { |
24 | install -d ${D}/${libdir}/ | 22 | oe_runmake install prefix="${prefix}" DESTDIR="${D}" |
25 | install -m 0644 ${B}/lib/libmcdi.so.${PV} ${D}/${libdir}/ | ||
26 | ln -sf ${PN}.so ${D}/${libdir}/${PN}.so.${PV} | ||
27 | 23 | ||
28 | install -d ${D}/${INSTALL_PATH} | 24 | install -d ${D}/${INSTALL_PATH} |
29 | install -m 0755 ${B}/example/mcdi_example_app ${D}/${INSTALL_PATH} | 25 | install -m 0755 ${B}/example/mcdi_example_app ${D}/${INSTALL_PATH} |