dpdk: fix binary path
PATCH 1/3 dpdk: fix binary path
From: Chunrong Guo <[email protected]>
--- recipes-extended/dpdk/dpdk_16.07.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-extended/dpdk/dpdk_16.07.bb +4 -4
@@ -46,11 +46,11 @@ do_install() { for APP in examples/l2fwd examples/l3fwd examples/l2fwd-crypto examples/ipsec-secgw examples/kni examples/ip_fragmentation examples/ip_reassembly; do oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR} --hash-style=gnu" -C ${APP} - [ ! -d ${D}/${bindir}/dpdk-example ] && install -d 0644 ${D}/${bindir}/dpdk-example + [ ! -d ${D}/usr/local/bin/dpdk-example ] && install -d 0644 ${D}/usr/local/bin/dpdk-example install -m 0755 ${S}/examples/`basename ${APP}`/build/`basename ${APP}` \ - ${D}/${bindir}/dpdk-example/ + ${D}/usr/local/bin/dpdk-example/ done - install -m 0755 ${S}/${RTE_TARGET}/app/testpmd ${D}/${bindir}/dpdk-example/ + install -m 0755 ${S}/${RTE_TARGET}/app/testpmd ${D}/usr/local/bin/dpdk-example/ rm -fr ${D}/lib/modules/* install -d ${D}/lib/modules/${KERNEL_VERSION}/dpdk install -m 0755 ${S}/${RTE_TARGET}/kmod/rte_kni.ko ${D}/lib/modules/${KERNEL_VERSION}/dpdk/
@@ -66,7 +66,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGES += "${PN}-examples" -FILES_${PN} += "${datadir}/tools /usr/bin/* /usr/sbin/*" +FILES_${PN} += "${datadir}/tools /usr/bin/* /usr/sbin/* /usr/local/*" FILES_${PN}-dbg += "${bindir}/dpdk-example/.debug \ ${datadir}/examples/kni/build/.debug \ ${datadir}/examples/kni/build/app/.debug \
Signature · 1 line
1.9.0
[PATCH 2/3] odp: set $prefix to /usr/local
From: Chunrong Guo <[email protected]>
--- recipes-extended/odp/odp_git.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-extended/odp/odp_git.bb +6 -1
@@ -2,6 +2,8 @@ require odp.inc inherit autotools-brokensep +export prefix = "/usr/local" + PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS = "openssl cunit libxml2"
@@ -21,6 +23,7 @@ ODP_BUILD_TYPE_ls2080ardb = "ls2080" ODP_BUILD_TYPE_ls1088ardb = "ls1088" EXTRA_OECONF = "--with-platform=${ODP_PLATFORM} \ + --prefix=${prefix} \ --with-sdk-install-path=${STAGING_DIR_TARGET} \ --enable-build-type=${ODP_BUILD_TYPE} \ --enable-test-vald \
@@ -59,5 +62,7 @@ do_install_append () { } FILES_${PN}-staticdev += "${datadir}/opendataplane/*.la" -FILES_${PN} += "/usr/odp/bin /usr/odp/scripts /usr/odp/debug /usr/odp/test/validation /usr/odp/test/performance /usr/odp/test/miscellaneous /usr/odp/test/api_test" +FILES_${PN} += "/usr/local/odp/bin /usr/local/odp/scripts /usr/local/odp/debug /usr/local/odp/test/validation /usr/local/odp/test/performance /usr/local/odp/test/miscellaneous /usr/local/odp/test/api_test" FILES_${PN}-dbg += "/usr/odp/bin/.debug /usr/odp/debug/.debug /usr/odp/test/validation/.debug /usr/odp/test/performance/.debug /usr/odp/test/miscellaneous/.debug /usr/odp/test/api_test/.debug" + +INSANE_SKIP_${PN} += "rpaths"
Signature · 1 line
1.9.0
Otavio Salvador
NAKRe: [PATCH 2/3] odp: set $prefix to /usr/local
Nak!
Quoted 45 lines · Chunrong Guo
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>--- recipes-extended/odp/odp_git.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)recipes-extended/odp/odp_git.bb +6
-2@@ -2,6 +2,8 @@ require odp.inc inherit autotools-brokensep +export prefix = "/usr/local" + PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS = "openssl cunit libxml2"@@ -21,6 +23,7 @@ ODP_BUILD_TYPE_ls2080ardb = "ls2080" ODP_BUILD_TYPE_ls1088ardb = "ls1088" EXTRA_OECONF = "--with-platform=${ODP_PLATFORM} \ + --prefix=${prefix} \ --with-sdk-install-path=${STAGING_DIR_TARGET} \ --enable-build-type=${ODP_BUILD_TYPE} \ --enable-test-vald \@@ -59,5 +62,7 @@ do_install_append () { } FILES_${PN}-staticdev += "${datadir}/opendataplane/*.la" -FILES_${PN} += "/usr/odp/bin /usr/odp/scripts /usr/odp/debug /usr/odp/test/validation /usr/odp/test/performance /usr/odp/test/miscellaneous /usr/odp/test/api_test" +FILES_${PN} += "/usr/local/odp/bin /usr/local/odp/scripts /usr/local/odp/debug /usr/local/odp/test/validation /usr/local/odp/test/performance /usr/local/odp/test/miscellaneous /usr/local/odp/test/api_test" FILES_${PN}-dbg += "/usr/odp/bin/.debug /usr/odp/debug/.debug /usr/odp/test/validation/.debug /usr/odp/test/performance/.debug /usr/odp/test/miscellaneous/.debug /usr/odp/test/api_test/.debug" + +INSANE_SKIP_${PN} += "rpaths" --1.9.0
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
PATCH 3/3 ofp: set $prefix to /usr/local
In reply to Chunrong GuoFrom: Chunrong Guo <[email protected]>
--- recipes-extended/ofp/ofp_git.bb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
recipes-extended/ofp/ofp_git.bb +7 -3
@@ -14,15 +14,17 @@ S = "${WORKDIR}/git" inherit autotools-brokensep pkgconfig +export prefix = "/usr/local" + PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS = "odp" EXTRA_OECONF = " \ - --prefix=/usr \ + --prefix=${prefix} \ --libdir=${libdir} \ --host=${SIMPLE_TARGET_SYS} \ - --with-odp=${STAGING_DIR_TARGET} \ + --with-odp=${STAGING_DIR_TARGET}${prefix} \ " do_configure () {
@@ -32,6 +34,8 @@ do_configure () { ${S}/configure ${EXTRA_OECONF} } -FILES_${PN} += "/usr/ofp/bin" +FILES_${PN} += "/usr/local/ofp/bin" FILES_${PN}-dbg += "/usr/ofp/bin/.debug" COMPATIBLE_MACHINE = "(ls2088a|ls1088a)" + +INSANE_SKIP_${PN} += "rpaths"
Signature · 1 line
1.9.0
Otavio Salvador
NAKRe: [PATCH 3/3] ofp: set $prefix to /usr/local
Nak!
Quoted 49 lines · Chunrong Guo
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>--- recipes-extended/ofp/ofp_git.bb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)recipes-extended/ofp/ofp_git.bb +7
-4@@ -14,15 +14,17 @@ S = "${WORKDIR}/git" inherit autotools-brokensep pkgconfig +export prefix = "/usr/local" + PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS = "odp" EXTRA_OECONF = " \ - --prefix=/usr \ + --prefix=${prefix} \ --libdir=${libdir} \ --host=${SIMPLE_TARGET_SYS} \ - --with-odp=${STAGING_DIR_TARGET} \ + --with-odp=${STAGING_DIR_TARGET}${prefix} \ " do_configure () {@@ -32,6 +34,8 @@ do_configure () { ${S}/configure ${EXTRA_OECONF} } -FILES_${PN} += "/usr/ofp/bin" +FILES_${PN} += "/usr/local/ofp/bin" FILES_${PN}-dbg += "/usr/ofp/bin/.debug" COMPATIBLE_MACHINE = "(ls2088a|ls1088a)" + +INSANE_SKIP_${PN} += "rpaths" --1.9.0
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 3 lines · Chunrong Guo
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>
This is wrong; we should install on bindir.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750