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>
This commit is contained in:
Anuj Mittal 2020-05-15 10:50:20 +08:00
parent c248917f50
commit 3c24f792af
2 changed files with 1 additions and 37 deletions

View File

@ -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

View File

@ -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"