diff options
Diffstat (limited to 'common/recipes-kernel/intel-ethernet/ixgbe.bb')
-rw-r--r-- | common/recipes-kernel/intel-ethernet/ixgbe.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/common/recipes-kernel/intel-ethernet/ixgbe.bb b/common/recipes-kernel/intel-ethernet/ixgbe.bb new file mode 100644 index 0000000..5b6f031 --- /dev/null +++ b/common/recipes-kernel/intel-ethernet/ixgbe.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | SUMMARY="ixgbe kernel driver for Intel Magnolia Park 10GbE" | ||
2 | DESCRIPTION="Intel 10-Gbps Ethernet driver for Magnolia Park" | ||
3 | AUTHOR = "Ong Boon Leong" | ||
4 | HOMEPAGE = "http://www.intel.com/network/connectivity/products/server_adapters.htm" | ||
5 | SECTION = "kernel/network" | ||
6 | LICENSE = "GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://${WORKDIR}/${PN}-${PV}/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
8 | |||
9 | PV = "5.1.3" | ||
10 | PR = "r0" | ||
11 | |||
12 | SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/${PV}/ixgbe-${PV}.tar.gz" | ||
13 | SRC_URI += "file://0001-ixgbe-src-Makefile-change-make-install-to-make.patch" | ||
14 | |||
15 | SRC_URI[md5sum] = "ae35ed547aa6a5087672c3f70ce1e676" | ||
16 | SRC_URI[sha256sum] = "9f537d79bddf0a087a17af632d57812d26d26bcfebbd4bdcf10df656ff055bb4" | ||
17 | |||
18 | S = "${WORKDIR}/${PN}-${PV}/src" | ||
19 | SCRIPT_DIR = "${WORKDIR}/${PN}-${PV}/scripts" | ||
20 | |||
21 | EXTRA_OEMAKE='KSRC="${STAGING_KERNEL_BUILDDIR}" KVER="${KERNEL_VERSION}" \ | ||
22 | BUILD_ARCH="${TARGET_ARCH}" PREFIX="${D}" \ | ||
23 | SYSTEM_MAP_FILE="${STAGING_KERNEL_BUILDDIR}/System.map-${KERNEL_VERSION}" INSTALL_MOD_PATH="${D}"' | ||
24 | |||
25 | KERNEL_MODULE_AUTOLOAD_append_intel-core2-32 = " ixgbe" | ||
26 | KERNEL_MODULE_AUTOLOAD_append_intel-corei7-64 = " ixgbe" | ||
27 | |||
28 | inherit module | ||
29 | |||
30 | do_install_append () { | ||
31 | # Install scripts/set_irq_affinity | ||
32 | install -d ${D}/etc/network | ||
33 | install -m 0755 ${SCRIPT_DIR}/set_irq_affinity ${D}/etc/network | ||
34 | } | ||
35 | |||
36 | #SSTATE_DUPWHITELIST += "${STAGING_DIR_HOST}/lib/modules/${KERNEL_VERSION}/" | ||
37 | |||
38 | PACKAGES += "${PN}-script" | ||
39 | |||
40 | FILES_${PN}-script += "/etc/network/set_irq_affinity" | ||
41 | |||
42 | #Ignore "ERROR: QA Issue: ixgbe: Files/directories were installed but not shipped" | ||
43 | INSANE_SKIP_${PN} = "installed-vs-shipped" | ||