[meta-freescale] [PATCH 6/6] pktgen-dpdk: add recipes

Chunrong Guo chunrong.guo at nxp.com
Thu Mar 15 22:03:36 PDT 2018


*include the following changes:
ffbe7be - update merge
1b0af69 - Merge branch 'master' into dev
3bd5082 - update version
070b4e0 - fix compile erro and config support
854df24 - remove mbuf refcnt verification
5160316 - pktgen-dpdk: Add support for make O=OUTPUT option
5e28413 - Fix the protocol settings with the range command.
9e34cf6 - fix sequence command index wrong
e99720d - fix cli and add more test scripts
3d15dbf - update for DPDK 17.11 changes
df45b16 - merge from master tree
fda09ea - add the new format for the seq command
b92d6fa - update tests for new seq commandstest/set_seq.cmd
819c936 - Fix up style of code
c589388 - rework seq command to add cos and tos
83646b6 - Pktgen bug fixs and new seq commands
622e6f2 - add sigpipe to signal support
19063c2 - update map file
3bfdccd - Merge branch 'master' of ssh://linksys/~rkwiles/projects/intel/pktgen
b475547 - Update version and changelog
139d1d8 - fix build for standard DPDK
308d810 - Merge branch 'master' of ssh://linksys/~rkwiles/projects/intel/pktgen
3926396 - update version and changelog
ee6a520 - fix up cfg files
63638ec - remove Lua for CLI builds
cc604b3 - fix processing of ARP packets
06ef19d - increase the burst size
b066627 - remove string functions from DPDK
4c5ede1 - remove files
ac09238 - increase the memory per socket
8e770a9 - update for vscode files we need to keep
4078d68 - fix tty output on quit
319c346 - Merge branch 'master' of ssh://linksys/~rkwiles/projects/intel/pktgen
8a4d8fc - update version to 3.4.0
03c8ea7 - change MIF config

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb | 32 +++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb

diff --git a/recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb b/recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb
new file mode 100644
index 0000000..ae62d54
--- /dev/null
+++ b/recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "PKTGEN DPDK"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8120b89a783571da3cb492c35ac6b1f9"
+
+DEPENDS += "libpcap dpdk"
+
+SRC_URI = "git://dpdk.org/git/apps/pktgen-dpdk;protocol=http;nobranch=1"
+SRCREV = "ffbe7becf8dd75fd7d46b97b10374531878cb9c5"
+
+S = "${WORKDIR}/git"
+
+DPAA_VER ?= "dpaa"
+export RTE_TARGET = "arm64-${DPAA_VER}-linuxapp-gcc"
+export RTE_SDK = "${RECIPE_SYSROOT}/usr/share"
+
+EXTRA_OEMAKE += 'CC="${CC}" LD="${LD}"  RTE_SDK="${RECIPE_SYSROOT}/usr/share" RTE_TARGET="arm64-${DPAA_VER}-linuxapp-gcc"'
+
+do_compile() {
+      unset LDFLAGS TARGET_LDFLAGS BUILD_LDFLAGS
+      oe_runmake 
+}
+
+do_install() {
+	install -d ${D}${bindir}/
+	cp -f  ${S}/app/arm64-dpaa-linuxapp-gcc/pktgen ${D}${bindir}/
+        cp -f  ${S}/Pktgen.lua ${D}${bindir}/
+}
+
+INSANE_SKIP_${PN} = "ldflags"
+INHIBIT_PACKAGE_STRIP = "1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+PARALLEL_MAKE = ""
-- 
1.9.0



More information about the meta-freescale mailing list