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 |
Sanyog Kale | 89e5905 | 2018-04-26 18:38:08 +0530 | [diff] [blame] | 7 | soundwire-bus-objs := bus_type.o bus.o slave.o mipi_disco.o stream.o |
Vinod Koul | 9251345 | 2017-12-14 11:19:33 +0530 | [diff] [blame] | 8 | obj-$(CONFIG_SOUNDWIRE_BUS) += soundwire-bus.o |
Vinod Koul | 2f52a51 | 2017-12-14 11:19:41 +0530 | [diff] [blame] | 9 | |
Pierre-Louis Bossart | bf03473 | 2019-08-21 13:58:18 -0500 | [diff] [blame^] | 10 | ifdef CONFIG_DEBUG_FS |
| 11 | soundwire-bus-objs += debugfs.o |
| 12 | endif |
| 13 | |
Vinod Koul | 2f52a51 | 2017-12-14 11:19:41 +0530 | [diff] [blame] | 14 | #Cadence Objs |
| 15 | soundwire-cadence-objs := cadence_master.o |
| 16 | obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o |
Vinod Koul | 71bb8a1 | 2017-12-14 11:19:43 +0530 | [diff] [blame] | 17 | |
| 18 | #Intel driver |
| 19 | soundwire-intel-objs := intel.o |
| 20 | obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o |
Vinod Koul | d62a7d4 | 2017-12-14 11:19:44 +0530 | [diff] [blame] | 21 | |
| 22 | soundwire-intel-init-objs := intel_init.o |
| 23 | obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel-init.o |