Description: fix Makefile
 fix Makefile
 .
 rtl8821ce (0.1-1) xenial; urgency=medium
 .
   * Initial release
Author: Wen-chien Jesse Sung <jesse.sung@canonical.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2018-05-02

--- rtl8821ce-0.1.orig/bt/Makefile
+++ rtl8821ce-0.1/bt/Makefile
@@ -3,7 +3,7 @@ ifneq ($(KERNELRELEASE),)
 	rtk_btusb-y = rtk_coex.o rtk_bt.o
 else
 	PWD := $(shell pwd)
-	KVER := $(shell uname -r)
+#	KVER := $(shell uname -r)
 	KDIR := /lib/modules/$(KVER)/build
 
 all:
--- rtl8821ce-0.1.orig/wifi/Makefile
+++ rtl8821ce-0.1/wifi/Makefile
@@ -1065,7 +1065,7 @@ EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211
 SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
 ARCH ?= $(SUBARCH)
 CROSS_COMPILE ?=
-KVER  := $(shell uname -r)
+#KVER  := $(shell uname -r)
 KSRC := /lib/modules/$(KVER)/build
 MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
 INSTALL_PREFIX :=
@@ -1904,9 +1904,9 @@ modules:
 strip:
 	$(CROSS_COMPILE)strip $(MODULE_NAME).ko --strip-unneeded
 
-install:
-	install -p -m 644 $(MODULE_NAME).ko  $(MODDESTDIR)
-	/sbin/depmod -a ${KVER}
+#install:
+#	install -p -m 644 $(MODULE_NAME).ko  $(MODDESTDIR)
+#	/sbin/depmod -a ${KVER}
 
 uninstall:
 	rm -f $(MODDESTDIR)/$(MODULE_NAME).ko
