diff options
author | Andrzej Telszewski <atelszewski@gmail.com> | 2020-10-15 21:03:17 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-17 09:36:18 +0700 |
commit | ac204e86ded627976b9835f80d6d14119651b576 (patch) | |
tree | dd51accd03b78077f9da78da30338aef0d0fb9db /network/rtl8821ce/allow-kver-ksrc.patch | |
parent | 7c80a6a6af5d36ba619ee77629f22f64d197862c (diff) |
network/rtl8821ce: Added (Realtek RTL8821CE Driver)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/rtl8821ce/allow-kver-ksrc.patch')
-rw-r--r-- | network/rtl8821ce/allow-kver-ksrc.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/network/rtl8821ce/allow-kver-ksrc.patch b/network/rtl8821ce/allow-kver-ksrc.patch new file mode 100644 index 0000000000000..0629f749eec35 --- /dev/null +++ b/network/rtl8821ce/allow-kver-ksrc.patch @@ -0,0 +1,15 @@ +diff --git a/Makefile b/Makefile +index 5b5dc9a..da26fdd 100755 +--- a/Makefile ++++ b/Makefile +@@ -1218,8 +1218,8 @@ EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT + SUBARCH := $(shell uname -m | sed -e s/i.86/i386/) + ARCH ?= $(SUBARCH) + CROSS_COMPILE ?= +-KVER := $(shell uname -r) +-KSRC := /lib/modules/$(KVER)/build ++KVER ?= $(shell uname -r) ++KSRC ?= /lib/modules/$(KVER)/build + MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/ + INSTALL_PREFIX := + STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging |