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