summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-kernel/netmap/netmap_git.bb
diff options
context:
space:
mode:
authorArmin Kuster <akuster@mvista.com>2015-08-09 05:38:30 +0530
committerJoe MacDonald <joe_macdonald@mentor.com>2015-09-15 10:49:30 -0400
commit1692d5c3020434404fc1ee6911a60b88287a5efb (patch)
treec705c4f059c63ff69d06da14a2a8d6800db90190 /meta-networking/recipes-kernel/netmap/netmap_git.bb
parent1624ca2f9f94a0b9eb76a1d37d5984d6efdda695 (diff)
downloadmeta-openembedded-1692d5c3020434404fc1ee6911a60b88287a5efb.tar.gz
netmap: add new package
this adds netmap, the fast packet I/O framework http://info.iet.unipi.it/~luigi/netmap/ - updated to latest version to get kernel 4.1 support - fixed printf type issue - Fixed manual config options Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-kernel/netmap/netmap_git.bb')
-rw-r--r--meta-networking/recipes-kernel/netmap/netmap_git.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-networking/recipes-kernel/netmap/netmap_git.bb b/meta-networking/recipes-kernel/netmap/netmap_git.bb
new file mode 100644
index 0000000000..f15a626cba
--- /dev/null
+++ b/meta-networking/recipes-kernel/netmap/netmap_git.bb
@@ -0,0 +1,35 @@
1require netmap.inc
2
3DEPENDS = "netmap-modules"
4
5EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
6 --kernel-sources=${STAGING_KERNEL_DIR} \
7 --no-drivers \
8 --disable-generic \
9 --prefix=${prefix} \
10 --destdir=${D} \
11 --cc='${CC}' \
12 --ld='${LD}' \
13 "
14SRC_URI += "file://0001-testmmap-fix-compile-issue-with-gcc-5.x.patch"
15
16do_fetch[depends] += "netmap-modules:do_fetch"
17
18do_configure () {
19 cd ${S}/LINUX
20 ./configure ${EXTRA_OECONF}
21}
22
23do_compile () {
24 cd ${S}/LINUX
25 make apps
26}
27
28do_install () {
29 cd ${S}/LINUX
30 make install-apps DESTDIR=${D}
31}
32
33FILES_${PN} += "${bindir}"
34RDEPENDS_${PN} = "kernel-module-netmap"
35RRECOMMENDS_${PN} = "kernel-module-netmap"