aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch
blob: 656a897df388e9cf4a94f99dd95644652de6bc34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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