summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/intel-ethernet/ixgbe/0001-ixgbe-skip-host-depmod.patch
blob: 0041af57560abfe293b40c2b82274eeb2c75387f (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 5f87ef7ed60bc9762467184ed0a6d000b80713d9 Mon Sep 17 00:00:00 2001
From: sweeaun <swee.aun.khor@intel.com>
Date: Sun, 8 Apr 2018 17:21:52 +0800
Subject: [PATCH] ixgbe: 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 545489a..07e422f 100644
--- a/Makefile
+++ b/Makefile
@@ -141,8 +141,6 @@ install: default manfile
 	@install -D -m 644 ${DRIVER}.${MANSECTION}.gz ${INSTALL_MOD_PATH}${MANDIR}/man${MANSECTION}/${DRIVER}.${MANSECTION}.gz
 	@echo "Installing modules..."
 	@+$(call devkernelbuild,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