mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

* it's also using MACHINE specific variables like: STAGING_KERNEL_DIR. STAGING_KERNEL_BUILDDIR * drop suspicious: do_fetch[depends] += "netmap-modules:do_fetch" fetcher should use .lock files to prevent updating the same repository in parallel * see: http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html * fixes: ERROR: netmap different signature for task do_configure.sigdata between qemux86copy and qemux86 basehash changed from 748eae270193023d79f7d6a69aa1b8d2 to 9267873ef5fa4474d5f60fc79044ab64 Variable MACHINE value changed from 'qemux86copy' to 'qemux86' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
35 lines
789 B
BlitzBasic
35 lines
789 B
BlitzBasic
require netmap.inc
|
|
|
|
DEPENDS = "netmap-modules"
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
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_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"
|