blob: 7c53ffae9f50af0841732e2f49989835ab51a0fb [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Vinod Koul92513452017-12-14 11:19:33 +05302#
3# Makefile for soundwire core
4#
5
6#Bus Objs
Vinod Koul908442a2020-06-16 21:51:40 +05307soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \
Pierre-Louis Bossartbcac5902020-05-19 04:35:51 +08008 sysfs_slave.o sysfs_slave_dpn.o
Pierre-Louis Bossart8676b3c2019-07-18 18:02:15 -05009obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
Vinod Koul2f52a512017-12-14 11:19:41 +053010
Pierre-Louis Bossartbf034732019-08-21 13:58:18 -050011ifdef CONFIG_DEBUG_FS
Vinod Koul908442a2020-06-16 21:51:40 +053012soundwire-bus-y += debugfs.o
Pierre-Louis Bossartbf034732019-08-21 13:58:18 -050013endif
14
Vinod Koul2f52a512017-12-14 11:19:41 +053015#Cadence Objs
Vinod Koul908442a2020-06-16 21:51:40 +053016soundwire-cadence-y := cadence_master.o
Vinod Koul2f52a512017-12-14 11:19:41 +053017obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
Vinod Koul71bb8a12017-12-14 11:19:43 +053018
19#Intel driver
Vinod Koul908442a2020-06-16 21:51:40 +053020soundwire-intel-y := intel.o intel_init.o
Vinod Koul71bb8a12017-12-14 11:19:43 +053021obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
Vinod Kould62a7d42017-12-14 11:19:44 +053022
Srinivas Kandagatla02efb492020-01-13 13:21:53 +000023#Qualcomm driver
Vinod Koul908442a2020-06-16 21:51:40 +053024soundwire-qcom-y := qcom.o
Srinivas Kandagatla02efb492020-01-13 13:21:53 +000025obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o