mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 05:39:42 +07:00
f03293d8fc
In the commit3d774d5ef0
("ALSA: seq: Allow the tristate build of OSS emulation") we changed CONFIG_SND_SEQUENCER_OSS to tristate, but a couple of places were forgotten, namely, opl3 and emux Makefile. These contain the line like snd-opl3-synth-$(CONFIG_SND_SEQUENCER_OSS) += opl3_oss.o and this doesn't work any longer as expected because snd-opl3-synth can be built-in while CONFIG_SND_SEQUENCER_OSS=m. This patch fixes these places to build properly for the new kconfig dependency. In the end, we had to use ifneq() to satisfy the requirement. It's a bit ugly, but lesser evil. Fixes:3d774d5ef0
("ALSA: seq: Allow the tristate build of OSS emulation") Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 lines
399 B
Makefile
15 lines
399 B
Makefile
#
|
|
# Makefile for ALSA
|
|
# Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
|
|
#
|
|
|
|
snd-opl3-lib-objs := opl3_lib.o opl3_synth.o
|
|
snd-opl3-synth-y := opl3_seq.o opl3_midi.o opl3_drums.o
|
|
ifneq ($(CONFIG_SND_SEQUENCER_OSS),)
|
|
snd-opl3-synth-y += opl3_oss.o
|
|
endif
|
|
|
|
obj-$(CONFIG_SND_OPL3_LIB) += snd-opl3-lib.o
|
|
obj-$(CONFIG_SND_OPL4_LIB) += snd-opl3-lib.o
|
|
obj-$(CONFIG_SND_OPL3_LIB_SEQ) += snd-opl3-synth.o
|