aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2020-05-15 10:50:20 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2020-06-03 11:25:08 +0800
commitb1f11d71cb2e0483225572ae2703d6634a04933e (patch)
tree76949773161f7bdb0cb2ee143858e826880d8770
parent858e7f0f03fe514f0a5b99abde9a5ebc52f55b9c (diff)
downloadmeta-intel-b1f11d71cb2e0483225572ae2703d6634a04933e.tar.gz
meta-intel-b1f11d71cb2e0483225572ae2703d6634a04933e.tar.bz2
meta-intel-b1f11d71cb2e0483225572ae2703d6634a04933e.zip
ixgbevf: upgrade 4.6.3 -> 4.7.1
Use modules_install target and remove the depmod patch that shouldn't be required now. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch31
-rw-r--r--recipes-kernel/intel-ethernet/ixgbevf_4.7.1.bb (renamed from recipes-kernel/intel-ethernet/ixgbevf_4.6.3.bb)7
2 files changed, 1 insertions, 37 deletions
diff --git a/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch b/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch
deleted file mode 100644
index 656a897d..00000000
--- a/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 9677d09f5c3984997ac8e7d90b5d4b11fb9ce277 Mon Sep 17 00:00:00 2001
-From: sweeaun <swee.aun.khor@intel.com>
-Date: Sat, 7 Oct 2017 20:56:35 -0700
-Subject: [PATCH] ixgbevf: skip host depmod
-
-Upstream-Status: Inappropriate [Cross-Compile]
-
-Depmod during do_install is irrelevant when cross-compiling.
-Remove the depmod steps during do_install.
-
-Signed-off-by: sweeaun <swee.aun.khor@intel.com>
----
- Makefile | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 91df705..1dcf350 100644
---- a/Makefile
-+++ b/Makefile
-@@ -104,8 +104,6 @@ modules_install: default manfile
- @install -D -m 644 ${DRIVER}.${MANSECTION}.gz ${INSTALL_MOD_PATH}${MANDIR}/man${MANSECTION}/${DRIVER}.${MANSECTION}.gz
- @echo "Installing modules..."
- @+$(call kernelbuild,modules_install)
-- @echo "Running depmod..."
-- @$(call cmd_depmod)
-
- uninstall:
- rm -f ${INSTALL_MOD_PATH}/lib/modules/${KVER}/${INSTALL_MOD_DIR}/${DRIVER}.ko;
---
-2.7.4
-
diff --git a/recipes-kernel/intel-ethernet/ixgbevf_4.6.3.bb b/recipes-kernel/intel-ethernet/ixgbevf_4.7.1.bb
index 0b3b461e..ecd974fe 100644
--- a/recipes-kernel/intel-ethernet/ixgbevf_4.6.3.bb
+++ b/recipes-kernel/intel-ethernet/ixgbevf_4.7.1.bb
@@ -11,11 +11,9 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417"
SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \
- file://0001-ixgbevf-skip-host-depmod.patch \
"
-SRC_URI[md5sum] = "9258960e4d005c7da546cb8dca7bedc5"
-SRC_URI[sha256sum] = "740bb4822c54e5f9bc6a6e73ec562058cb9a27264d727453011c3725d3dd9ad2"
+SRC_URI[sha256sum] = "82d71eb04da5556171b4d776c5de61466801068738363847ef68d964c3d4735d"
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/"
UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P<pver>\d+(\.\d+)+)/"
@@ -23,7 +21,6 @@ UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P<pver>\d+(\.\d+)+)/"
CVE_PRODUCT = "linux:linux_kernel_ixgbe"
S = "${WORKDIR}/${BP}/src"
-MODULES_INSTALL_TARGET = "install"
EXTRA_OEMAKE='KSRC="${STAGING_KERNEL_BUILDDIR}" KVER="${KERNEL_VERSION}" INSTALL_MOD_PATH="${D}"'
@@ -43,5 +40,3 @@ do_install_append () {
PACKAGES += "${PN}-script"
FILES_${PN}-script += "${sysconfdir}/network/set_irq_affinity"
-
-EXCLUDE_FROM_WORLD = "1"