diff options
-rw-r--r-- | recipes-extended/dpdk/dpdk.inc | 8 |
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 | " |
12 | SRCREV = "0123ced10233e7de8a72f743e2ae7e9791124f07" | 12 | SRCREV = "a36da6a94243015b228c15b8b9aa1e650fd4b96d" |
13 | 13 | ||
14 | RDEPENDS_${PN} += "python-subprocess" | 14 | RDEPENDS_${PN} += "python-subprocess" |
15 | DEPENDS = "virtual/kernel openssl" | 15 | DEPENDS = "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 | ||
98 | PACKAGES += "${PN}-examples" | 104 | PACKAGES += "${PN}-examples" |