summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-extended/dpdk/dpdk.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 2084c9f9..7642ec4e 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -9,7 +9,7 @@ SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/dpdk;nobr
9 file://0001-Add-RTE_KERNELDIR_OUT.patch \ 9 file://0001-Add-RTE_KERNELDIR_OUT.patch \
10 file://0004-update-WERROR_FLAGS.patch \ 10 file://0004-update-WERROR_FLAGS.patch \
11" 11"
12SRCREV = "0123ced10233e7de8a72f743e2ae7e9791124f07" 12SRCREV = "a36da6a94243015b228c15b8b9aa1e650fd4b96d"
13 13
14RDEPENDS_${PN} += "python-subprocess" 14RDEPENDS_${PN} += "python-subprocess"
15DEPENDS = "virtual/kernel openssl" 15DEPENDS = "virtual/kernel openssl"
@@ -87,12 +87,18 @@ do_install () {
87 # Install examples 87 # Install examples
88 install -d 0644 ${D}/${datadir}/dpdk/cmdif/include 88 install -d 0644 ${D}/${datadir}/dpdk/cmdif/include
89 install -d 0644 ${D}/${datadir}/dpdk/cmdif/lib 89 install -d 0644 ${D}/${datadir}/dpdk/cmdif/lib
90 install -d 0644 ${D}/${datadir}/dpdk/examples
90 cp examples/cmdif/lib/client/fsl_cmdif_client.h examples/cmdif/lib/server/fsl_cmdif_server.h \ 91 cp examples/cmdif/lib/client/fsl_cmdif_client.h examples/cmdif/lib/server/fsl_cmdif_server.h \
91 examples/cmdif/lib/shbp/fsl_shbp.h ${D}/${datadir}/dpdk/cmdif/include 92 examples/cmdif/lib/shbp/fsl_shbp.h ${D}/${datadir}/dpdk/cmdif/include
92 cp examples/cmdif/lib/${RTE_TARGET}/librte_cmdif.a ${D}/${datadir}/dpdk/cmdif/lib 93 cp examples/cmdif/lib/${RTE_TARGET}/librte_cmdif.a ${D}/${datadir}/dpdk/cmdif/lib
93 install -d 0644 ${D}/${datadir}/dpdk/examples/ipsec_secgw 94 install -d 0644 ${D}/${datadir}/dpdk/examples/ipsec_secgw
94 cp -r ${S}/examples/ipsec-secgw/*.cfg ${D}/${datadir}/dpdk/examples/ipsec_secgw 95 cp -r ${S}/examples/ipsec-secgw/*.cfg ${D}/${datadir}/dpdk/examples/ipsec_secgw
95 cp -rf ${S}/nxp/* ${D}/${datadir}/dpdk 96 cp -rf ${S}/nxp/* ${D}/${datadir}/dpdk
97 cp -r ${S}/examples/cmdif/cmdif_demo/${DPDK_RTE_TARGET}/cmdif_demo ${D}/${datadir}/dpdk/examples
98 cp -r ${S}/examples/vhost/vhost-switch ${D}/${datadir}/dpdk/examples
99 for APP in l2fwd l3fwd l2fwd-qdma l2fwd-crypto ipsec-secgw kni ip_fragmentation ip_reassembly; do
100 cp -r ${S}/examples/${APP}/${APP} ${D}/${datadir}/dpdk/examples
101 done
96} 102}
97 103
98PACKAGES += "${PN}-examples" 104PACKAGES += "${PN}-examples"