aboutsummaryrefslogtreecommitdiff
path: root/net/openvswitch/patches
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-02 15:03:13 +0200
committerYousong Zhou <yszhou4tech@gmail.com>2020-09-02 22:58:15 +0800
commit4b65ea569ab971871f6f2b4eabd885bfe310f8a3 (patch)
tree4d5acc87fca73f70fe4e9a23d15294115c74e4fc /net/openvswitch/patches
parentb37f1a071646e9d1ed56411013baf0b73e4c2f96 (diff)
openvswitch: remove support for kernel 4.14 and 4.9
Support for kernel 4.14 has been removed in main repo, so drop the dependencies here as well (and those for even older 4.9). Also drop a patch that is required only for 4.14 and lower. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'net/openvswitch/patches')
-rw-r--r--net/openvswitch/patches/0005-datapath-unexport-LDFLAGS.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/net/openvswitch/patches/0005-datapath-unexport-LDFLAGS.patch b/net/openvswitch/patches/0005-datapath-unexport-LDFLAGS.patch
deleted file mode 100644
index 8bd16ba95..000000000
--- a/net/openvswitch/patches/0005-datapath-unexport-LDFLAGS.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 2939a31ad57f81556afdf5112ee1d68bd2e3f012 Mon Sep 17 00:00:00 2001
-From: Yousong Zhou <yszhou4tech@gmail.com>
-Date: Mon, 16 Mar 2020 15:18:16 +0800
-Subject: [PATCH] datapath: unexport LDFLAGS
-
-OpenWrt build system will put "-specs=.../hardened-pie-ld.specs" into
-LDFLAGS when building PIE binaries. However the "-specs" argument is
-inteneded for "gcc" the driver while "ld" the linker when presented will
-complain it as unrecognized error.
-
-This can cause Kbuild error when building datapath kernel modules. The
-issue should only happen when compiling against upstream kernel 4.14 and
-earlier. Later ones should have been fixed with kernel upstream commit
-d503ac531a5 ("kbuild: rename LDFLAGS to KBUILD_LDFLAGS")
-
-Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
----
- datapath/linux/Makefile.in | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/datapath/linux/Makefile.in b/datapath/linux/Makefile.in
-index efc1663e4..61fcaa67e 100644
---- a/datapath/linux/Makefile.in
-+++ b/datapath/linux/Makefile.in
-@@ -1,5 +1,6 @@
- ifeq ($(KERNELRELEASE),)
- # We're being called directly by running make in this directory.
-+unexport LDFLAGS
- include Makefile.main
- else
- # We're being included by the Linux kernel build system