2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-12-14 13:49:33 +08:00
|
|
|
#
|
|
|
|
# Makefile for soundwire core
|
|
|
|
#
|
|
|
|
|
|
|
|
#Bus Objs
|
2020-05-19 04:35:51 +08:00
|
|
|
soundwire-bus-objs := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \
|
|
|
|
sysfs_slave.o sysfs_slave_dpn.o
|
2019-07-19 07:02:15 +08:00
|
|
|
obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
|
2017-12-14 13:49:41 +08:00
|
|
|
|
2019-08-22 02:58:18 +08:00
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
|
|
soundwire-bus-objs += debugfs.o
|
|
|
|
endif
|
|
|
|
|
2017-12-14 13:49:41 +08:00
|
|
|
#Cadence Objs
|
|
|
|
soundwire-cadence-objs := cadence_master.o
|
|
|
|
obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
|
2017-12-14 13:49:43 +08:00
|
|
|
|
|
|
|
#Intel driver
|
2020-05-20 03:19:02 +08:00
|
|
|
soundwire-intel-objs := intel.o intel_init.o
|
2017-12-14 13:49:43 +08:00
|
|
|
obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
|
2017-12-14 13:49:44 +08:00
|
|
|
|
2020-01-13 21:21:53 +08:00
|
|
|
#Qualcomm driver
|
|
|
|
soundwire-qcom-objs := qcom.o
|
|
|
|
obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o
|