]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/core/Makefile
[ALSA] Fix build error without CONFIG_HAS_DMA
[linux-2.6-omap-h63xx.git] / sound / core / Makefile
index 5a01c76d02e8f0c90b7196c2588e2695a43e6bc8..05f5cdca655c7b9211d25adabd630f30f9e68721 100644 (file)
@@ -14,7 +14,8 @@ endif
 snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \
                pcm_memory.o
 
-snd-page-alloc-objs := memalloc.o sgbuf.o
+snd-page-alloc-y := memalloc.o
+snd-page-alloc-$(CONFIG_HAS_DMA) += sgbuf.o
 
 snd-rawmidi-objs  := rawmidi.o
 snd-timer-objs    := timer.o