| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # |
| 3 | # Makefile for soundwire core |
| 4 | # |
| 5 | |
| 6 | #Bus Objs |
| 7 | soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \ |
| 8 | sysfs_slave.o sysfs_slave_dpn.o |
| 9 | obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o |
| 10 | |
| 11 | soundwire-generic-allocation-objs := generic_bandwidth_allocation.o |
| 12 | obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o |
| 13 | |
| 14 | ifdef CONFIG_DEBUG_FS |
| 15 | soundwire-bus-y += debugfs.o |
| 16 | endif |
| 17 | |
| 18 | #Cadence Objs |
| 19 | soundwire-cadence-y := cadence_master.o |
| 20 | obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o |
| 21 | |
| 22 | #Intel driver |
| 23 | soundwire-intel-y := intel.o intel_auxdevice.o intel_init.o dmi-quirks.o |
| 24 | obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o |
| 25 | |
| 26 | #Qualcomm driver |
| 27 | soundwire-qcom-y := qcom.o |
| 28 | obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o |