Add bluetooth support for MT7668.

Change-Id: I2659270e2610ec577f949ddf189a7269a03705a9
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f2b11bb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+excelsior-bluetooth (1-1) mendel-chef; urgency=medium
+
+  * Initial release to support MT7668 Bluetooth
+
+ -- Coral Team <coral-support@google.com>  Mon, 15 Apr 2019 16:04:08 -0700
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..330f92b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: excelsior-bluetooth
+Section: misc
+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)
+Standards-Version: 3.9.8
+Homepage: https://coral.withgoogle.com/
+
+Package: excelsior-bluetooth
+Section: libs
+Architecture: arm64 armhf
+Priority: optional
+Depends: excelsior-connectivity-fw,
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: Excelsior Bluetooth support.
+ Install modules and firmware to support the MT7668 Bluetooth chipset.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8084799
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,6 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: excelsior-bluetooth
+
+Files: *
+Copyright: Copyright 2019 Google, LLC <coral-support@google.com>
+License: Apache-2.0
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..d18ad56
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1 @@
+excelsior-bluetooth: new-package-should-close-itp-bug
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..096c772
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+set -e
+
+depmod -a 4.19.32-mtk
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..291a5ce
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+#
+# output every command that modifies files on the build system.
+# export DH_VERBOSE = 1
+
+PACKAGENAME=excelsior-bluetooth
+DESTDIR=$(shell pwd)/debian/$(PACKAGENAME)
+CURDIR=$(shell pwd)
+
+DESTDIR=$(shell pwd)/debian/$(PACKAGENAME)
+CURDIR=$(shell pwd)
+KERNELVERSION=4.19.32-mtk
+MODULESDIR=$(DESTDIR)/lib/modules/$(KERNELVERSION)
+CONNECTIVITYMODULESDIR=$(MODULESDIR)/kernel/misc/mediatek/connectivity
+
+KERNELSRC=/usr/src/linux-headers-$(KERNELVERSION)
+
+SDIO_MOD_NAME := btmtksdio
+SDIO_CFILES := \
+	btmtk_sdio.c btmtk_main.c
+$(SDIO_MOD_NAME)-objs := $(SDIO_CFILES:.c=.o)
+obj-m := $(SDIO_MOD_NAME).o
+KERNELMOD := $(SDIO_MOD_NAME).ko
+
+%:
+	dh $@
+
+override_dh_auto_clean:
+	true
+
+override_dh_auto_build:
+	echo $(SDIO_CFILES)
+	echo $(btmtksdio-objs)
+	find .
+	pwd
+	$(MAKE) ARCH=$(DEB_TARGET_ARCH) CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)- -C $(KERNELSRC) M=$(PWD) modules
+
+override_dh_auto_install:
+	install -d $(MODULESDIR)
+	install -d $(CONNECTIVITYMODULESDIR)
+	install -g 0 -o 0 $(KERNELMOD) $(CONNECTIVITYMODULESDIR)
+
+