blob: 04ef04b1168f39faf94dad598ca29fe3e0e5bbbf [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002# Makefile for the Linux sound card driver
3#
4
5obj-$(CONFIG_SOUND) += soundcore.o
Takashi Iwai727dede2017-10-24 09:15:23 +02006obj-$(CONFIG_DMASOUND) += oss/dmasound/
Hans-Christian Egtvedt3b0a8992007-07-23 15:52:42 +02007obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
Anton Yakovlevde3a99802021-03-02 17:47:02 +01008 firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/ xen/ \
9 virtio/
Takashi Iwai30833192006-06-26 13:11:09 +020010obj-$(CONFIG_SND_AOA) += aoa/
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Nicolas Pitree1036502006-12-12 13:32:29 -050012# This one must be compilable even if sound is configured out
13obj-$(CONFIG_AC97_BUS) += ac97_bus.o
Robert Jarzmik8d433442017-09-02 21:54:05 +020014obj-$(CONFIG_AC97_BUS_NEW) += ac97/
Nicolas Pitree1036502006-12-12 13:32:29 -050015
Linus Torvalds1da177e2005-04-16 15:20:36 -070016ifeq ($(CONFIG_SND),y)
17 obj-y += last.o
18endif
19
Adrian Bunkb9dd6ff2006-09-29 02:01:36 -070020soundcore-objs := sound_core.o