summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsweeaun <swee.aun.khor@intel.com>2017-10-08 06:13:28 (GMT)
committerSaul Wold <sgw@linux.intel.com>2017-10-09 18:59:45 (GMT)
commit78ee3920964b297004da12eeb48502ec4d3671ac (patch)
tree559f38cf6d68d549dc456eee6debb33512570314
parent600bca65921e14b7941a64e62860897837eb42e0 (diff)
downloadmeta-intel-78ee3920964b297004da12eeb48502ec4d3671ac.tar.gz
ixgbevf: skip host depmod
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> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--common/recipes-kernel/intel-ethernet/ixgbevf.bb8
-rw-r--r--common/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch31
2 files changed, 36 insertions, 3 deletions
diff --git a/common/recipes-kernel/intel-ethernet/ixgbevf.bb b/common/recipes-kernel/intel-ethernet/ixgbevf.bb
index bee601b..6a9636e 100644
--- a/common/recipes-kernel/intel-ethernet/ixgbevf.bb
+++ b/common/recipes-kernel/intel-ethernet/ixgbevf.bb
@@ -9,9 +9,11 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/${PN}-${PV}/COPYING;md5=b234ee4d69f5fce448
9PV = "4.1.2" 9PV = "4.1.2"
10PR = "r0" 10PR = "r0"
11 11
12SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/ixgbevf-${PV}.tar.gz" 12SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/ixgbevf-${PV}.tar.gz \
13SRC_URI += "file://0001-ixgbevf-src-Makefile-change-make-install-to-make.patch" 13 file://0001-ixgbevf-src-Makefile-change-make-install-to-make.patch \
14SRC_URI += "file://0002-ixgbevf_common.patch" 14 file://0002-ixgbevf_common.patch \
15 file://0001-ixgbevf-skip-host-depmod.patch \
16 "
15 17
16SRC_URI[md5sum] = "f02ec46369d1ca949a1e9d2e0eb74d5f" 18SRC_URI[md5sum] = "f02ec46369d1ca949a1e9d2e0eb74d5f"
17SRC_URI[sha256sum] = "ab2824541f8a2d8f7b7d26ccbb46359ef551c5d4625fb333014e2b8023ac3ab6" 19SRC_URI[sha256sum] = "ab2824541f8a2d8f7b7d26ccbb46359ef551c5d4625fb333014e2b8023ac3ab6"
diff --git a/common/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch b/common/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch
new file mode 100644
index 0000000..656a897
--- /dev/null
+++ b/common/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch
@@ -0,0 +1,31 @@
1From 9677d09f5c3984997ac8e7d90b5d4b11fb9ce277 Mon Sep 17 00:00:00 2001
2From: sweeaun <swee.aun.khor@intel.com>
3Date: Sat, 7 Oct 2017 20:56:35 -0700
4Subject: [PATCH] ixgbevf: skip host depmod
5
6Upstream-Status: Inappropriate [Cross-Compile]
7
8Depmod during do_install is irrelevant when cross-compiling.
9Remove the depmod steps during do_install.
10
11Signed-off-by: sweeaun <swee.aun.khor@intel.com>
12---
13 Makefile | 2 --
14 1 file changed, 2 deletions(-)
15
16diff --git a/Makefile b/Makefile
17index 91df705..1dcf350 100644
18--- a/Makefile
19+++ b/Makefile
20@@ -104,8 +104,6 @@ modules_install: default manfile
21 @install -D -m 644 ${DRIVER}.${MANSECTION}.gz ${INSTALL_MOD_PATH}${MANDIR}/man${MANSECTION}/${DRIVER}.${MANSECTION}.gz
22 @echo "Installing modules..."
23 @+$(call kernelbuild,modules_install)
24- @echo "Running depmod..."
25- @$(call cmd_depmod)
26
27 uninstall:
28 rm -f ${INSTALL_MOD_PATH}/lib/modules/${KVER}/${INSTALL_MOD_DIR}/${DRIVER}.ko;
29--
302.7.4
31