xref: /openbmc/linux/sound/Makefile (revision b830f94f)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for the Linux sound card driver
3#
4
5obj-$(CONFIG_SOUND) += soundcore.o
6obj-$(CONFIG_DMASOUND) += oss/dmasound/
7obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
8	firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/ xen/
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
13obj-$(CONFIG_AC97_BUS_NEW) += ac97/
14
15ifeq ($(CONFIG_SND),y)
16  obj-y += last.o
17endif
18
19soundcore-objs  := sound_core.o
20