From: Takashi Iwai Date: Mon, 26 Jun 2006 11:11:09 +0000 (+0200) Subject: [ALSA] fix build failure due to snd-aoa X-Git-Tag: v2.6.18-rc1~357^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30833195ec8d2b8bcc17fb06659e91506edf5b63;p=linux-2.6 [ALSA] fix build failure due to snd-aoa When snd-aoa is not built or built as modules, but CONFIG_SND is yes, kernel build fails due to a bug I introduced when adding snd-aoa. This patch fixes it. From: Takashi Iwai Signed-off-by: Johannes Berg Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/Makefile b/sound/Makefile index a682ea30f0..1f60797afa 100644 --- a/sound/Makefile +++ b/sound/Makefile @@ -4,7 +4,8 @@ obj-$(CONFIG_SOUND) += soundcore.o obj-$(CONFIG_SOUND_PRIME) += oss/ obj-$(CONFIG_DMASOUND) += oss/ -obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ aoa/ +obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ +obj-$(CONFIG_SND_AOA) += aoa/ ifeq ($(CONFIG_SND),y) obj-y += last.o