openvswitch: disable built-in kernel module build 4381/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 25 May 2017 13:31:25 +0000 (16:31 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 25 May 2017 13:31:27 +0000 (16:31 +0300)
Since we're using the kernel's module, this is
un-necessary.
Should speed up the build a bit.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
net/openvswitch/patches/0005-disable-module-build.patch [new file with mode: 0644]

diff --git a/net/openvswitch/patches/0005-disable-module-build.patch b/net/openvswitch/patches/0005-disable-module-build.patch
new file mode 100644 (file)
index 0000000..43d4986
--- /dev/null
@@ -0,0 +1,25 @@
+From 7cf69704374e363fdda227803be3849233ba96f3 Mon Sep 17 00:00:00 2001
+From: Dario Ernst <Dario.Ernst@riverbed.com>
+Date: Fri, 25 Nov 2016 15:33:48 +0100
+Subject: [PATCH 4/4] disable-module-build
+
+---
+ datapath/linux/Makefile.main.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/datapath/linux/Makefile.main.in b/datapath/linux/Makefile.main.in
+index 7d18253..e5555a7 100644
+--- a/datapath/linux/Makefile.main.in
++++ b/datapath/linux/Makefile.main.in
+@@ -68,7 +68,7 @@ ifeq (,$(wildcard $(CONFIG_FILE)))
+ endif
+ default:
+-      $(MAKE) -C $(KSRC) M=$(builddir) modules
++      @echo skipping module build
+ modules_install:
+       $(MAKE) -C $(KSRC) M=$(builddir) modules_install
+-- 
+2.9.3
+