linux-loongson/sound/hda/common/Makefile
Takashi Iwai 05be28fe85 ALSA: hda: Move common codec driver into sound/hda/common directory
The snd-hda-codec module contains the most of common code used by both
HD-audio controller and codec drivers, and it's basically independent
from PCI.  Let's move the code to sound/hda/common directory as a part
of code reorganization.

The hda_ prefix is dropped from the most of file names as it's rather
superfluous.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250709160434.1859-4-tiwai@suse.de
2025-07-11 09:55:37 +02:00

14 lines
389 B
Makefile

# SPDX-License-Identifier: GPL-2.0
snd-hda-codec-y := bind.o codec.o jack.o auto_parser.o sysfs.o
snd-hda-codec-y += controller.o
snd-hda-codec-$(CONFIG_SND_PROC_FS) += proc.o
snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hwdep.o
snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += beep.o
# for trace-points
CFLAGS_controller.o := -I$(src)
# common driver
obj-$(CONFIG_SND_HDA) := snd-hda-codec.o