blob: 033cfb8a0fc6117d6e9d252a31eb7abe06a592e4 [file] [log] [blame]
Patrick Williamsd849ec72016-08-17 14:59:38 -05001Specify install path for kernel module
2
3Signed-off-by: Amy Fong <amy.fong@windriver.com>
4---
5 datapath/linux/Makefile.main.in | 4 ++--
6 1 files changed, 2 insertions(+), 2 deletions(-)
7
8--- a/datapath/linux/Makefile.main.in
9+++ b/datapath/linux/Makefile.main.in
10@@ -71,8 +71,8 @@
11 $(MAKE) -C $(KSRC) M=$(builddir) modules
12
13 modules_install:
14- $(MAKE) -C $(KSRC) M=$(builddir) modules_install
15- depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' $(KSRC)/include/generated/utsrelease.h`
16+ $(MAKE) -C $(KSRC) M=$(builddir) modules_install INSTALL_MOD_PATH=${INSTALL_MOD_PATH}
17+ # depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' $(KSRC)/include/generated/utsrelease.h`
18 endif
19
20 # Much of the kernel build system in this file is derived from Intel's