blob: 34bbd36a9851f51d245eb21902afd17631b261e6 [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
Sanyog Kale89e59052018-04-26 18:38:08 +05307soundwire-bus-objs := bus_type.o bus.o slave.o mipi_disco.o stream.o
Vinod Koul92513452017-12-14 11:19:33 +05308obj-$(CONFIG_SOUNDWIRE_BUS) += 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