Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
9251345d VK |
2 | # |
3 | # Makefile for soundwire core | |
4 | # | |
5 | ||
6 | #Bus Objs | |
908442aa | 7 | soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \ |
bcac5902 | 8 | sysfs_slave.o sysfs_slave_dpn.o |
8676b3ca | 9 | obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o |
2f52a517 | 10 | |
9026118f BL |
11 | soundwire-generic-allocation-objs := generic_bandwidth_allocation.o |
12 | obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o | |
13 | ||
bf03473d | 14 | ifdef CONFIG_DEBUG_FS |
908442aa | 15 | soundwire-bus-y += debugfs.o |
bf03473d PLB |
16 | endif |
17 | ||
2f52a517 | 18 | #Cadence Objs |
908442aa | 19 | soundwire-cadence-y := cadence_master.o |
2f52a517 | 20 | obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o |
71bb8a1b VK |
21 | |
22 | #Intel driver | |
f6594cdf | 23 | soundwire-intel-y := intel.o intel_init.o dmi-quirks.o |
71bb8a1b | 24 | obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o |
d62a7d41 | 25 | |
02efb49a | 26 | #Qualcomm driver |
908442aa | 27 | soundwire-qcom-y := qcom.o |
02efb49a | 28 | obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o |