blob: 7319918e0aec3f0300b218fc5f72e6ec715a7fec [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
Pierre-Louis Bossart7ceaa402020-05-19 01:43:21 +08007soundwire-bus-objs := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o
Pierre-Louis Bossart8676b3c2019-07-18 18:02:15 -05008obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
Vinod Koul2f52a512017-12-14 11:19:41 +05309
Pierre-Louis Bossartbf034732019-08-21 13:58:18 -050010ifdef CONFIG_DEBUG_FS
11soundwire-bus-objs += debugfs.o
12endif
13
Vinod Koul2f52a512017-12-14 11:19:41 +053014#Cadence Objs
15soundwire-cadence-objs := cadence_master.o
16obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
Vinod Koul71bb8a12017-12-14 11:19:43 +053017
18#Intel driver
19soundwire-intel-objs := intel.o
20obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
Vinod Kould62a7d42017-12-14 11:19:44 +053021
22soundwire-intel-init-objs := intel_init.o
23obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel-init.o
Srinivas Kandagatla02efb492020-01-13 13:21:53 +000024
25#Qualcomm driver
26soundwire-qcom-objs := qcom.o
27obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o