diff options
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git')
| -rw-r--r-- | recipes-networking/openvswitch/openvswitch-git/disable_m4_check.patch | 12 | ||||
| -rw-r--r-- | recipes-networking/openvswitch/openvswitch-git/kernel_module.patch | 29 |
2 files changed, 6 insertions, 35 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/disable_m4_check.patch b/recipes-networking/openvswitch/openvswitch-git/disable_m4_check.patch index 711a1487..ce1f6501 100644 --- a/recipes-networking/openvswitch/openvswitch-git/disable_m4_check.patch +++ b/recipes-networking/openvswitch/openvswitch-git/disable_m4_check.patch | |||
| @@ -9,11 +9,11 @@ Signed-off-by: Amy Fong <amy.fong@windriver.com> | |||
| 9 | Makefile.am | 2 +- | 9 | Makefile.am | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | 11 | ||
| 12 | diff --git a/Makefile.am b/Makefile.am | 12 | Index: git/Makefile.am |
| 13 | index ff7d70a..2fc1f13 100644 | 13 | =================================================================== |
| 14 | --- a/Makefile.am | 14 | --- git.orig/Makefile.am |
| 15 | +++ b/Makefile.am | 15 | +++ git/Makefile.am |
| 16 | @@ -187,7 +187,7 @@ CLEAN_LOCAL += clean-pycov | 16 | @@ -194,7 +194,7 @@ |
| 17 | 17 | ||
| 18 | # If we're checked out from a Git repository, make sure that every | 18 | # If we're checked out from a Git repository, make sure that every |
| 19 | # file that is in Git is distributed. | 19 | # file that is in Git is distributed. |
| @@ -21,4 +21,4 @@ index ff7d70a..2fc1f13 100644 | |||
| 21 | +# ALL_LOCAL += dist-hook-git | 21 | +# ALL_LOCAL += dist-hook-git |
| 22 | dist-hook-git: distfiles | 22 | dist-hook-git: distfiles |
| 23 | @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1; then \ | 23 | @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1; then \ |
| 24 | (cd datapath && $(MAKE) distfiles); \ | 24 | (cd $(srcdir) && git ls-files) | grep -v '\.gitignore$$' | \ |
diff --git a/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch b/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch deleted file mode 100644 index 5e5a38d9..00000000 --- a/recipes-networking/openvswitch/openvswitch-git/kernel_module.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | From 9b7fb1346702d59af67435487254ef35940bc16a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "Hongzhi.Song" <hongzhi.song@windriver.com> | ||
| 3 | Date: Wed, 23 Jan 2019 03:41:30 -0500 | ||
| 4 | Subject: [PATCH] datapatch/linux: Specify install path for kernel module | ||
| 5 | |||
| 6 | Signed-off-by: Amy Fong <amy.fong@windriver.com> | ||
| 7 | Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> | ||
| 8 | --- | ||
| 9 | datapath/linux/Makefile.main.in | 4 ++-- | ||
| 10 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 11 | |||
| 12 | diff --git a/datapath/linux/Makefile.main.in b/datapath/linux/Makefile.main.in | ||
| 13 | index 328bbfb..6dcc8d0 100644 | ||
| 14 | --- a/datapath/linux/Makefile.main.in | ||
| 15 | +++ b/datapath/linux/Makefile.main.in | ||
| 16 | @@ -71,8 +71,8 @@ default: | ||
| 17 | $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules | ||
| 18 | |||
| 19 | modules_install: | ||
| 20 | - $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules_install | ||
| 21 | - /sbin/depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' $(KSRC)/include/generated/utsrelease.h` | ||
| 22 | + $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules_install INSTALL_MOD_PATH=${INSTALL_MOD_PATH} | ||
| 23 | + #/sbin/depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' $(KSRC)/include/generated/utsrelease.h` | ||
| 24 | endif | ||
| 25 | |||
| 26 | # Much of the kernel build system in this file is derived from Intel's | ||
| 27 | -- | ||
| 28 | 2.8.1 | ||
| 29 | |||
