require netmap.inc DEPENDS = "virtual/kernel" do_configure[depends] += "virtual/kernel:do_shared_workdir" inherit module 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" \ " EXTRA_OECONF += "--no-drivers=ixgbe --no-drivers=virtio_net.c" LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}" LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}" do_configure () { cd ${S}/LINUX ./configure ${EXTRA_OECONF} } do_configure_append () { cat >> ${S}/LINUX/netmap_linux_config.h <