summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/kernel_module.patch')
-rw-r--r--recipes-networking/openvswitch/openvswitch-git/kernel_module.patch25
1 files changed, 14 insertions, 11 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch b/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch
index c177202f..5e5a38d9 100644
--- a/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch
+++ b/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch
@@ -1,26 +1,29 @@
1From adfd2380d71dff1a31efaf63cf7ac97470466ec9 Mon Sep 17 00:00:00 2001 1From 9b7fb1346702d59af67435487254ef35940bc16a Mon Sep 17 00:00:00 2001
2From: Amy Fong <amy.fong@windriver.com> 2From: "Hongzhi.Song" <hongzhi.song@windriver.com>
3Date: Thu, 29 Jan 2015 09:56:03 -0500 3Date: Wed, 23 Jan 2019 03:41:30 -0500
4Subject: [PATCH] Specify install path for kernel module 4Subject: [PATCH] datapatch/linux: Specify install path for kernel module
5 5
6Signed-off-by: Amy Fong <amy.fong@windriver.com> 6Signed-off-by: Amy Fong <amy.fong@windriver.com>
7 7Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
8--- 8---
9 datapath/linux/Makefile.main.in | 4 ++-- 9 datapath/linux/Makefile.main.in | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-) 10 1 file changed, 2 insertions(+), 2 deletions(-)
11 11
12diff --git a/datapath/linux/Makefile.main.in b/datapath/linux/Makefile.main.in 12diff --git a/datapath/linux/Makefile.main.in b/datapath/linux/Makefile.main.in
13index 7d18253..63c520f 100644 13index 328bbfb..6dcc8d0 100644
14--- a/datapath/linux/Makefile.main.in 14--- a/datapath/linux/Makefile.main.in
15+++ b/datapath/linux/Makefile.main.in 15+++ b/datapath/linux/Makefile.main.in
16@@ -71,8 +71,8 @@ default: 16@@ -71,8 +71,8 @@ default:
17 $(MAKE) -C $(KSRC) M=$(builddir) modules 17 $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules
18 18
19 modules_install: 19 modules_install:
20- $(MAKE) -C $(KSRC) M=$(builddir) modules_install 20- $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules_install
21- depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' $(KSRC)/include/generated/utsrelease.h` 21- /sbin/depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' $(KSRC)/include/generated/utsrelease.h`
22+ $(MAKE) -C $(KSRC) M=$(builddir) modules_install INSTALL_MOD_PATH=${INSTALL_MOD_PATH} 22+ $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules_install INSTALL_MOD_PATH=${INSTALL_MOD_PATH}
23+ # depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' $(KSRC)/include/generated/utsrelease.h` 23+ #/sbin/depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' $(KSRC)/include/generated/utsrelease.h`
24 endif 24 endif
25 25
26 # Much of the kernel build system in this file is derived from Intel's 26 # Much of the kernel build system in this file is derived from Intel's
27--
282.8.1
29