summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-dpdk/recipes-extended/dpdk/libmcdi_0.1.0.bb12
1 files changed, 7 insertions, 5 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 31b3b7a2..5036a8d7 100644
--- a/meta-dpdk/recipes-extended/dpdk/libmcdi_0.1.0.bb
+++ b/meta-dpdk/recipes-extended/dpdk/libmcdi_0.1.0.bb
@@ -12,7 +12,7 @@ S = "${WORKDIR}/git"
12COMPATIBLE_MACHINE = "^$" 12COMPATIBLE_MACHINE = "^$"
13COMPATIBLE_MACHINE:versal-net = "${MACHINE}" 13COMPATIBLE_MACHINE:versal-net = "${MACHINE}"
14 14
15INSTALL_PATH = "${prefix}/share/${PN}/examples" 15MCDI_PATH_EXAMPLES = "${datadir}/${BPN}/examples"
16 16
17do_compile() { 17do_compile() {
18 oe_runmake all CC="${CC}" CROSS_COMPILE="${TARGET_PREFIX}" 18 oe_runmake all CC="${CC}" CROSS_COMPILE="${TARGET_PREFIX}"
@@ -21,9 +21,11 @@ do_compile() {
21do_install() { 21do_install() {
22 oe_runmake install prefix="${prefix}" DESTDIR="${D}" 22 oe_runmake install prefix="${prefix}" DESTDIR="${D}"
23 23
24 install -d ${D}/${INSTALL_PATH} 24 install -d ${D}/${MCDI_PATH_EXAMPLES}
25 install -m 0755 ${B}/example/mcdi_example_app ${D}/${INSTALL_PATH} 25 install -m 0755 ${B}/example/mcdi_example_app ${D}/${MCDI_PATH_EXAMPLES}
26 install -m 0755 ${B}/init/init_app ${D}/${INSTALL_PATH} 26 install -m 0755 ${B}/init/init_app ${D}/${MCDI_PATH_EXAMPLES}
27} 27}
28 28
29FILES:${PN} = "${INSTALL_PATH}/* ${libdir}/*" 29FILES:${PN} += " \
30 ${MCDI_PATH_EXAMPLES}/* \
31 "