Configure for the 4.4.22 kernel.
Change-Id: Ib520c1c8559773052c347e84e4e21997a62b2b12
diff --git a/debian/control b/debian/control
index 752385d..166bf43 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,8 @@
Priority: optional
Maintainer: Coral <coral-support@google.com>
Build-Depends: debhelper (>= 10),
- linux-headers-4.19.32-mtk (>1),
- linux-kbuild-4.19.32-mtk (>1)
+ linux-headers-4.4.22-mtk (>1),
+ linux-kbuild-4.4.22-mtk (>1)
Standards-Version: 3.9.8
Homepage: https://coral.withgoogle.com/
diff --git a/debian/postinst b/debian/postinst
index 096c772..05ae23c 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -2,4 +2,4 @@
set -e
-depmod -a 4.19.32-mtk
+depmod -a 4.4.22-mtk
diff --git a/debian/rules b/debian/rules
index de5dad1..230887b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,14 +7,14 @@
PACKAGENAME=excelsior-wlan
DESTDIR=$(shell pwd)/debian/$(PACKAGENAME)
CURDIR=$(shell pwd)
-KERNELVERSION=4.19.32-mtk
+KERNELVERSION=4.4.22-mtk
MODULESDIR=$(DESTDIR)/lib/modules/$(KERNELVERSION)
CONNECTIVITYMODULESDIR=$(MODULESDIR)/kernel/misc/mediatek/connectivity
KERNELSRC=/usr/src/linux-headers-$(KERNELVERSION)
KERNELMOD=wlan_mt7668_sdio.ko
-
+LDFLAGS := -z relro
MAKEOPTS := MTK_COMBO_CHIP=MT6632 \