diff options
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/kernel_module.patch')
-rw-r--r-- | recipes-networking/openvswitch/openvswitch-git/kernel_module.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch b/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch new file mode 100644 index 00000000..033cfb8a --- /dev/null +++ b/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Specify install path for kernel module | ||
2 | |||
3 | Signed-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 | ||