X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=sound%2Fcore%2FMakefile;h=267039a97bd51e1beca02ba63de7cb70305e87f3;hb=c9b58006be7e471a5f55d171cbaa08f4aa8078ea;hp=5a01c76d02e8f0c90b7196c2588e2695a43e6bc8;hpb=5b2f7ffcb734d3046144dfbd5ac6d76254a9e522;p=powerpc.git diff --git a/sound/core/Makefile b/sound/core/Makefile index 5a01c76d02..267039a97b 100644 --- a/sound/core/Makefile +++ b/sound/core/Makefile @@ -1,20 +1,17 @@ # # Makefile for ALSA -# Copyright (c) 1999,2001 by Jaroslav Kysela +# Copyright (c) 1999,2001 by Jaroslav Kysela # -snd-objs := sound.o init.o memory.o info.o control.o misc.o device.o -ifeq ($(CONFIG_ISA_DMA_API),y) -snd-objs += isadma.o -endif -ifeq ($(CONFIG_SND_OSSEMUL),y) -snd-objs += sound_oss.o info_oss.o -endif +snd-y := sound.o init.o memory.o info.o control.o misc.o device.o +snd-$(CONFIG_ISA_DMA_API) += isadma.o +snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o info_oss.o 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