From 632399bb6f72910f8949f3b6da24e4ff8293224a Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Fri, 20 Apr 2018 08:42:13 +0800 Subject: ixgbevf: cleanup recipe * Remove unnecessary code and include version info in recipe. * Better description of the package and project page * Change do_install to use S instead of WORKDIR. Using S would fail when used with devtool that relies on externalsrc class. Signed-off-by: Anuj Mittal Signed-off-by: California Sullivan --- recipes-kernel/intel-ethernet/ixgbevf_4.3.4.bb | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 recipes-kernel/intel-ethernet/ixgbevf_4.3.4.bb (limited to 'recipes-kernel/intel-ethernet/ixgbevf_4.3.4.bb') diff --git a/recipes-kernel/intel-ethernet/ixgbevf_4.3.4.bb b/recipes-kernel/intel-ethernet/ixgbevf_4.3.4.bb new file mode 100644 index 00000000..9dc0aaf3 --- /dev/null +++ b/recipes-kernel/intel-ethernet/ixgbevf_4.3.4.bb @@ -0,0 +1,41 @@ +SUMMARY="ixgbevf kernel driver for Intel Magnolia Park 10GbE" +DESCRIPTION="This virtual function driver supports kernel versions 2.6.x and newer \ +This driver supports 82599, X540, X550, and X552-based virtual function devices \ +that can only be activated on kernels that support SR-IOV. \ +SR-IOV requires the correct platform and OS support. \ +The guest OS loading this driver must support MSI-X interrupts." + +HOMEPAGE = "https://sourceforge.net/projects/e1000/" +SECTION = "kernel/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \ + file://0001-ixgbevf-skip-host-depmod.patch \ + file://0001-Makefile-check-for-CONFIG_IXGBEVF-instead.patch \ + " + +SRC_URI[md5sum] = "9459bf9ac4b2b827bee2ff147d192622" +SRC_URI[sha256sum] = "63a6568be16347e19bae74238d739cd7ffa83a6236c6d8e25d2539d46cb25f88" + +S = "${WORKDIR}/${BP}/src" +MODULES_INSTALL_TARGET = "install" + +EXTRA_OEMAKE='KSRC="${STAGING_KERNEL_BUILDDIR}" KVER="${KERNEL_VERSION}" INSTALL_MOD_PATH="${D}"' + +KERNEL_MODULE_AUTOLOAD_append_intel-core2-32 = " ixgbevf" +KERNEL_MODULE_AUTOLOAD_append_intel-corei7-64 = " ixgbevf" + +inherit module + +do_install_append () { + # Install scripts/set_irq_affinity + install -d ${D}${sysconfdir}/network + install -m 0755 ${S}/../scripts/set_irq_affinity ${D}${sysconfdir}/network + + rm -rf ${D}${prefix}/man +} + +PACKAGES += "${PN}-script" + +FILES_${PN}-script += "${sysconfdir}/network/set_irq_affinity" -- cgit v1.2.3-54-g00ecf