Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Vinod Koul | 9251345 | 2017-12-14 11:19:33 +0530 | [diff] [blame] | 2 | # |
| 3 | # Makefile for soundwire core |
| 4 | # |
| 5 | |
| 6 | #Bus Objs |
Vinod Koul | 908442a | 2020-06-16 21:51:40 +0530 | [diff] [blame] | 7 | soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \ |
Pierre-Louis Bossart | bcac590 | 2020-05-19 04:35:51 +0800 | [diff] [blame] | 8 | sysfs_slave.o sysfs_slave_dpn.o |
Pierre-Louis Bossart | 8676b3c | 2019-07-18 18:02:15 -0500 | [diff] [blame] | 9 | obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o |
Vinod Koul | 2f52a51 | 2017-12-14 11:19:41 +0530 | [diff] [blame] | 10 | |
Pierre-Louis Bossart | bf03473 | 2019-08-21 13:58:18 -0500 | [diff] [blame] | 11 | ifdef CONFIG_DEBUG_FS |
Vinod Koul | 908442a | 2020-06-16 21:51:40 +0530 | [diff] [blame] | 12 | soundwire-bus-y += debugfs.o |
Pierre-Louis Bossart | bf03473 | 2019-08-21 13:58:18 -0500 | [diff] [blame] | 13 | endif |
| 14 | |
Vinod Koul | 2f52a51 | 2017-12-14 11:19:41 +0530 | [diff] [blame] | 15 | #Cadence Objs |
Vinod Koul | 908442a | 2020-06-16 21:51:40 +0530 | [diff] [blame] | 16 | soundwire-cadence-y := cadence_master.o |
Vinod Koul | 2f52a51 | 2017-12-14 11:19:41 +0530 | [diff] [blame] | 17 | obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o |
Vinod Koul | 71bb8a1 | 2017-12-14 11:19:43 +0530 | [diff] [blame] | 18 | |
| 19 | #Intel driver |
Vinod Koul | 908442a | 2020-06-16 21:51:40 +0530 | [diff] [blame] | 20 | soundwire-intel-y := intel.o intel_init.o |
Vinod Koul | 71bb8a1 | 2017-12-14 11:19:43 +0530 | [diff] [blame] | 21 | obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o |
Vinod Koul | d62a7d4 | 2017-12-14 11:19:44 +0530 | [diff] [blame] | 22 | |
Srinivas Kandagatla | 02efb49 | 2020-01-13 13:21:53 +0000 | [diff] [blame] | 23 | #Qualcomm driver |
Vinod Koul | 908442a | 2020-06-16 21:51:40 +0530 | [diff] [blame] | 24 | soundwire-qcom-y := qcom.o |
Srinivas Kandagatla | 02efb49 | 2020-01-13 13:21:53 +0000 | [diff] [blame] | 25 | obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o |