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