mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-17 15:20:32 +00:00
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>
36 lines
804 B
BlitzBasic
36 lines
804 B
BlitzBasic
require netmap.inc
|
|
|
|
DEPENDS = "netmap-modules"
|
|
|
|
EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
|
|
--kernel-sources=${STAGING_KERNEL_DIR} \
|
|
--no-drivers \
|
|
--disable-generic \
|
|
--prefix=${prefix} \
|
|
--destdir=${D} \
|
|
--cc='${CC}' \
|
|
--ld='${LD}' \
|
|
"
|
|
SRC_URI += "file://0001-testmmap-fix-compile-issue-with-gcc-5.x.patch"
|
|
|
|
do_fetch[depends] += "netmap-modules:do_fetch"
|
|
|
|
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"
|