diff options
-rw-r--r-- | meta-dpdk/recipes-extended/dpdk/libmcdi_0.1.0.bb | 12 |
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" | |||
12 | COMPATIBLE_MACHINE = "^$" | 12 | COMPATIBLE_MACHINE = "^$" |
13 | COMPATIBLE_MACHINE:versal-net = "${MACHINE}" | 13 | COMPATIBLE_MACHINE:versal-net = "${MACHINE}" |
14 | 14 | ||
15 | INSTALL_PATH = "${prefix}/share/${PN}/examples" | 15 | MCDI_PATH_EXAMPLES = "${datadir}/${BPN}/examples" |
16 | 16 | ||
17 | do_compile() { | 17 | do_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() { | |||
21 | do_install() { | 21 | do_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 | ||
29 | FILES:${PN} = "${INSTALL_PATH}/* ${libdir}/*" | 29 | FILES:${PN} += " \ |
30 | ${MCDI_PATH_EXAMPLES}/* \ | ||
31 | " | ||