xref: /openbmc/linux/sound/Makefile (revision 31b90347)
1# Makefile for the Linux sound card driver
2#
3
4obj-$(CONFIG_SOUND) += soundcore.o
5obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o
6obj-$(CONFIG_SOUND_PRIME) += oss/
7obj-$(CONFIG_DMASOUND) += oss/
8obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
9	firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/
10obj-$(CONFIG_SND_AOA) += aoa/
11
12# This one must be compilable even if sound is configured out
13obj-$(CONFIG_AC97_BUS) += ac97_bus.o
14
15ifeq ($(CONFIG_SND),y)
16  obj-y += last.o
17endif
18
19soundcore-objs  := sound_core.o
20