mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 07:57:20 +07:00
908442aa67
`-objs` is designed for building host programs, change to `-y`, more straightforward for device drivers. See Documentation/kbuild/makefiles.rst Signed-off-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20200616162140.2563535-1-vkoul@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
26 lines
611 B
Makefile
26 lines
611 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for soundwire core
|
|
#
|
|
|
|
#Bus Objs
|
|
soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \
|
|
sysfs_slave.o sysfs_slave_dpn.o
|
|
obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
|
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
soundwire-bus-y += debugfs.o
|
|
endif
|
|
|
|
#Cadence Objs
|
|
soundwire-cadence-y := cadence_master.o
|
|
obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
|
|
|
|
#Intel driver
|
|
soundwire-intel-y := intel.o intel_init.o
|
|
obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
|
|
|
|
#Qualcomm driver
|
|
soundwire-qcom-y := qcom.o
|
|
obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o
|