summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/012-kernel_build_check.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-03-16 10:13:14 +0100
committerFelix Fietkau <nbd@nbd.name>2017-06-07 18:31:10 +0200
commitc6c1f6a5480b12c938ae4154a55a08a559e8e46b (patch)
treeffd0672e38a268ccf1ee7e8d0ee451573040bf87 /package/kernel/mac80211/patches/012-kernel_build_check.patch
parent0aed054becb2143952bfb77cb64e23c83ce79dfd (diff)
downloadmtk-20170518-c6c1f6a5480b12c938ae4154a55a08a559e8e46b.zip
mtk-20170518-c6c1f6a5480b12c938ae4154a55a08a559e8e46b.tar.gz
mtk-20170518-c6c1f6a5480b12c938ae4154a55a08a559e8e46b.tar.bz2
mac80211: use KERNEL_MAKEOPTS
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/012-kernel_build_check.patch')
-rw-r--r--package/kernel/mac80211/patches/012-kernel_build_check.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/012-kernel_build_check.patch b/package/kernel/mac80211/patches/012-kernel_build_check.patch
new file mode 100644
index 0000000..d225ba1
--- /dev/null
+++ b/package/kernel/mac80211/patches/012-kernel_build_check.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -2,7 +2,7 @@
+ # Makefile for the output source package
+ #
+
+-ifeq ($(KERNELRELEASE),)
++ifeq ($(KERNELVERSION),)
+
+ MAKEFLAGS += --no-print-directory
+ SHELL := /usr/bin/env bash