summaryrefslogtreecommitdiffstats
path: root/sound/arm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sound/arm/Makefile')
-rw-r--r--sound/arm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/arm/Makefile b/sound/arm/Makefile
index bb2ed884acdd..2054de11de8a 100644
--- a/sound/arm/Makefile
+++ b/sound/arm/Makefile
@@ -12,7 +12,8 @@ obj-$(CONFIG_SND_PXA2XX_PCM) += snd-pxa2xx-pcm.o
snd-pxa2xx-pcm-objs := pxa2xx-pcm.o
obj-$(CONFIG_SND_PXA2XX_LIB) += snd-pxa2xx-lib.o
-snd-pxa2xx-lib-objs := pxa2xx-ac97-lib.o
+snd-pxa2xx-lib-y := pxa2xx-pcm-lib.o
+snd-pxa2xx-lib-$(CONFIG_SND_PXA2XX_LIB_AC97) += pxa2xx-ac97-lib.o
obj-$(CONFIG_SND_PXA2XX_AC97) += snd-pxa2xx-ac97.o
snd-pxa2xx-ac97-objs := pxa2xx-ac97.o