xref: /openbmc/linux/sound/Makefile (revision b2441318)
1*b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds# Makefile for the Linux sound card driver
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsobj-$(CONFIG_SOUND) += soundcore.o
61da177e4SLinus Torvaldsobj-$(CONFIG_SOUND_PRIME) += oss/
71da177e4SLinus Torvaldsobj-$(CONFIG_DMASOUND) += oss/
83b0a899cSHans-Christian Egtvedtobj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
9287599cfSJerome Anand	firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/
1030833195STakashi Iwaiobj-$(CONFIG_SND_AOA) += aoa/
111da177e4SLinus Torvalds
12e1036502SNicolas Pitre# This one must be compilable even if sound is configured out
13e1036502SNicolas Pitreobj-$(CONFIG_AC97_BUS) += ac97_bus.o
14e1036502SNicolas Pitre
151da177e4SLinus Torvaldsifeq ($(CONFIG_SND),y)
161da177e4SLinus Torvalds  obj-y += last.o
171da177e4SLinus Torvaldsendif
181da177e4SLinus Torvalds
19b9dd6ffcSAdrian Bunksoundcore-objs  := sound_core.o
20