summaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/mt6797/Makefile
diff options
context:
space:
mode:
authorKai Chieh Chuang2018-04-25 09:25:21 +0200
committerMark Brown2018-04-27 12:40:03 +0200
commitf0ab0bf250da5a115d5675a686117f21984f0760 (patch)
tree9bb4825870357b7b36c6cc19ae65977f650cbc22 /sound/soc/mediatek/mt6797/Makefile
parentASoC: mt6351 switch to SPDX license tag (diff)
downloadkernel-qcow2-linux-f0ab0bf250da5a115d5675a686117f21984f0760.tar.gz
kernel-qcow2-linux-f0ab0bf250da5a115d5675a686117f21984f0760.tar.xz
kernel-qcow2-linux-f0ab0bf250da5a115d5675a686117f21984f0760.zip
ASoC: add mt6797-mt6351 driver and config option
Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt6797/Makefile')
-rw-r--r--sound/soc/mediatek/mt6797/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/sound/soc/mediatek/mt6797/Makefile b/sound/soc/mediatek/mt6797/Makefile
new file mode 100644
index 000000000000..58618a0d339a
--- /dev/null
+++ b/sound/soc/mediatek/mt6797/Makefile
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2018 MediaTek Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+
+# platform driver
+snd-soc-mt6797-afe-objs := mt6797-afe-pcm.o mt6797-afe-clk.o
+obj-$(CONFIG_SND_SOC_MT6797) += snd-soc-mt6797-afe.o
+
+# machine driver
+obj-$(CONFIG_SND_SOC_MT6797_MT6351) += mt6797-mt6351.o