netmap: add new package
PATCH 1/1 netmap: add new package
From: Armin Kuster <[email protected]>
this adds netmap, the fast packet I/O framework
http://info.iet.unipi.it/~luigi/netmap/
--- .../recipes-kernel/netmap/netmap-modules_git.bb | 33 ++++++++++++++++++++++ meta-networking/recipes-kernel/netmap/netmap.inc | 14 +++++++++ .../recipes-kernel/netmap/netmap_git.bb | 32 +++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 meta-networking/recipes-kernel/netmap/netmap-modules_git.bb create mode 100644 meta-networking/recipes-kernel/netmap/netmap.inc create mode 100644 meta-networking/recipes-kernel/netmap/netmap_git.bb
meta-networking/recipes-kernel/netmap/netmap-modules_git.bb new file +33 -0
@@ -0,0 +1,33 @@ +require netmap.inc + +DEPENDS = "virtual/kernel" +do_configure[depends] += "virtual/kernel:do_shared_workdir" + +inherit module + +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux' + +CLEANBROKEN = "1" + +export INSTALL_MOD_DIR="kernel/netmap-modules" + +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ + --kernel-sources=${STAGING_KERNEL_DIR} \ + --install-mod-path=${D} \ + --driver-suffix="-netmap" \ + " + +do_configure () { + cd ${S}/LINUX + ./configure ${EXTRA_OECONF} +} + +do_compile () { + cd ${S}/LINUX + make +} + +do_install () { + cd ${S}/LINUX + oe_runmake install +}
meta-networking/recipes-kernel/netmap/netmap.inc new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "netmap and VALE - very fast packet I/O from userspace (FreeBSD/Linux)" +DESCRIPTION= "NETMAP is a framework for very fast packet I/O from userspace. VALE is an equally fast in-kernel software switch using the netmap API. Both are implemented as a single kernel module for FreeBSD and Linux, and can deal with line rate on real or emulated 10 Gbit ports." +SECTION = "networking" +HOMEPAGE = "http://code.google.com/p/netmap/" +LICENSE = "GPLv2+" + +LIC_FILES_CHKSUM = "file://README;beginline=13;endline=14;md5=f64f2b172fe6903ff7b6272c6edde588" + +SRCREV = "a14a35b839fe7ab6855f25f1e86e306ee7ad8123" +PV = "master+git${SRCPV}" + +SRC_URI = "git://github.com/luigirizzo/netmap.git" + +S = "${WORKDIR}/git"
meta-networking/recipes-kernel/netmap/netmap_git.bb new file +32 -0
@@ -0,0 +1,32 @@ +require netmap.inc + +DEPENDS = "netmap-modules" + +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ + --kernel-sources=${STAGING_KERNEL_DIR} \ + --install-mod-path=${D} \ + --no-drivers \ + --prefix=${prefix} \ + --destir=${D} \ + --cc='${CC}' \ + --ld='${LD}' \ + " + +do_configure () { + cd ${S}/LINUX + ./configure ${EXTRA_OECONF} +} + +do_compile () { + cd ${S}/LINUX + make apps +} + +do_install () { + cd ${S}/LINUX + make install-apps DESTDIR=${D} +} + +FILES_${PN} += "${bindir}" +RDEPENDS_${PN} = "kernel-module-netmap" +RRECOMMENDS_${PN} = "kernel-module-netmap"
Signature · 1 line
2.3.5
Quoted 4 lines · Armin Kuster
From: Armin Kuster <[email protected]>
this adds netmap, the fast packet I/O framework
http://info.iet.unipi.it/~luigi/netmap/
Fails to build on jenkins log in:
http://errors.yoctoproject.org/Errors/Build/7660/
Quoted 116 lines
Signed-off-by Armin Kuster <[email protected]>--- .../recipes-kernel/netmap/netmap-modules_git.bb | 33 ++++++++++++++++++++++ meta-networking/recipes-kernel/netmap/netmap.inc | 14 +++++++++ .../recipes-kernel/netmap/netmap_git.bb | 32 +++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 meta-networking/recipes-kernel/netmap/netmap-modules_git.bb create mode 100644 meta-networking/recipes-kernel/netmap/netmap.inc create mode 100644 meta-networking/recipes-kernel/netmap/netmap_git.bbmeta-networking/recipes-kernel/netmap/netmap-modules_git.bb new file +33
-0@@ -0,0 +1,33 @@ +require netmap.inc + +DEPENDS = "virtual/kernel" +do_configure[depends] += "virtual/kernel:do_shared_workdir" + +inherit module + +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux' + +CLEANBROKEN = "1" + +export INSTALL_MOD_DIR="kernel/netmap-modules" + +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ + --kernel-sources=${STAGING_KERNEL_DIR} \ + --install-mod-path=${D} \ + --driver-suffix="-netmap" \ + " + +do_configure () { + cd ${S}/LINUX + ./configure ${EXTRA_OECONF} +} + +do_compile () { + cd ${S}/LINUX + make +} + +do_install () { + cd ${S}/LINUX + oe_runmake install +}meta-networking/recipes-kernel/netmap/netmap.inc new file +14
-0@@ -0,0 +1,14 @@ +SUMMARY = "netmap and VALE - very fast packet I/O from userspace (FreeBSD/Linux)" +DESCRIPTION= "NETMAP is a framework for very fast packet I/O from userspace. VALE is an equally fast in-kernel software switch using the netmap API. Both are implemented as a single kernel module for FreeBSD and Linux, and can deal with line rate on real or emulated 10 Gbit ports." +SECTION = "networking" +HOMEPAGE = "http://code.google.com/p/netmap/" +LICENSE = "GPLv2+" + +LIC_FILES_CHKSUM = "file://README;beginline=13;endline=14;md5=f64f2b172fe6903ff7b6272c6edde588" + +SRCREV = "a14a35b839fe7ab6855f25f1e86e306ee7ad8123" +PV = "master+git${SRCPV}" + +SRC_URI = "git://github.com/luigirizzo/netmap.git" + +S = "${WORKDIR}/git"meta-networking/recipes-kernel/netmap/netmap_git.bb new file +32
-0@@ -0,0 +1,32 @@ +require netmap.inc + +DEPENDS = "netmap-modules" + +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ + --kernel-sources=${STAGING_KERNEL_DIR} \ + --install-mod-path=${D} \ + --no-drivers \ + --prefix=${prefix} \ + --destir=${D} \ + --cc='${CC}' \ + --ld='${LD}' \ + " + +do_configure () { + cd ${S}/LINUX + ./configure ${EXTRA_OECONF} +} + +do_compile () { + cd ${S}/LINUX + make apps +} + +do_install () { + cd ${S}/LINUX + make install-apps DESTDIR=${D} +} + +FILES_${PN} += "${bindir}" +RDEPENDS_${PN} = "kernel-module-netmap" +RRECOMMENDS_${PN} = "kernel-module-netmap"Signature · 7 lines
2.3.5 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Martin,
Quoted 9 lines · Martin Jansa
Quoted 4 lines · Armin Kuster
From: Armin Kuster <[email protected]>
this adds netmap, the fast packet I/O framework
http://info.iet.unipi.it/~luigi/netmap/Fails to build on jenkins log in:
http://errors.yoctoproject.org/Errors/Build/7660/
I have a lame typo in the configure parameter that my local build didn't show. As I try this on other arch's it is barfing in other areas.
I am going to traveling for the next two weeks so you can remove this or black list it until I can resolve the issues. I do hate cause you more work.
my apologizes,
Armin
Quoted 119 lines
Quoted 116 lines
Signed-off-by Armin Kuster <[email protected]>--- .../recipes-kernel/netmap/netmap-modules_git.bb | 33 ++++++++++++++++++++++ meta-networking/recipes-kernel/netmap/netmap.inc | 14 +++++++++ .../recipes-kernel/netmap/netmap_git.bb | 32 +++++++++++++++++++++ 3 files changed, 79 insertions(+)create mode 100644 meta-networking/recipes-kernel/netmap/netmap-modules_git.bb create mode 100644 meta-networking/recipes-kernel/netmap/netmap.inc create mode 100644 meta-networking/recipes-kernel/netmap/netmap_git.bb
meta-networking/recipes-kernel/netmap/netmap-modules_git.bb new file +33
-0@@ -0,0 +1,33 @@ +require netmap.inc + +DEPENDS = "virtual/kernel" +do_configure[depends] += "virtual/kernel:do_shared_workdir" + +inherit module + +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux' + +CLEANBROKEN = "1" + +export INSTALL_MOD_DIR="kernel/netmap-modules" + +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ + --kernel-sources=${STAGING_KERNEL_DIR} \ + --install-mod-path=${D} \ + --driver-suffix="-netmap" \ + " + +do_configure () { + cd ${S}/LINUX + ./configure ${EXTRA_OECONF} +} + +do_compile () { + cd ${S}/LINUX + make +} + +do_install () { + cd ${S}/LINUX + oe_runmake install +}meta-networking/recipes-kernel/netmap/netmap.inc new file +14
-0@@ -0,0 +1,14 @@ +SUMMARY = "netmap and VALE - very fast packet I/O from userspace (FreeBSD/Linux)" +DESCRIPTION= "NETMAP is a framework for very fast packet I/O from userspace. VALE is an equally fast in-kernel software switch using the netmap API. Both are implemented as a single kernel module for FreeBSD and Linux, and can deal with line rate on real or emulated 10 Gbit ports." +SECTION = "networking" +HOMEPAGE = "http://code.google.com/p/netmap/" +LICENSE = "GPLv2+" + +LIC_FILES_CHKSUM = "file://README;beginline=13;endline=14;md5=f64f2b172fe6903ff7b6272c6edde588" + +SRCREV = "a14a35b839fe7ab6855f25f1e86e306ee7ad8123" +PV = "master+git${SRCPV}" + +SRC_URI = "git://github.com/luigirizzo/netmap.git" + +S = "${WORKDIR}/git"meta-networking/recipes-kernel/netmap/netmap_git.bb new file +32
-1@@ -0,0 +1,32 @@ +require netmap.inc + +DEPENDS = "netmap-modules" + +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ + --kernel-sources=${STAGING_KERNEL_DIR} \ + --install-mod-path=${D} \ + --no-drivers \ + --prefix=${prefix} \ + --destir=${D} \ + --cc='${CC}' \ + --ld='${LD}' \ + " + +do_configure () { + cd ${S}/LINUX + ./configure ${EXTRA_OECONF} +} + +do_compile () { + cd ${S}/LINUX + make apps +} + +do_install () { + cd ${S}/LINUX + make install-apps DESTDIR=${D} +} + +FILES_${PN} += "${bindir}" +RDEPENDS_${PN} = "kernel-module-netmap" +RRECOMMENDS_${PN} = "kernel-module-netmap" --2.3.5
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel