1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for ALSA 2 # Makefile for ALSA 4 # Copyright (c) 1999,2001 by Jaroslav Kysela <p 3 # Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz> 5 # 4 # 6 5 7 snd-y := sound.o init.o memory.o control.o !! 6 snd-y := sound.o init.o memory.o info.o control.o misc.o device.o 8 ifneq ($(CONFIG_SND_PROC_FS),) << 9 snd-y += info.o << 10 snd-$(CONFIG_SND_OSSEMUL) += info_oss.o << 11 endif << 12 snd-$(CONFIG_ISA_DMA_API) += isadma.o 7 snd-$(CONFIG_ISA_DMA_API) += isadma.o 13 snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o !! 8 snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o info_oss.o 14 snd-$(CONFIG_SND_VMASTER) += vmaster.o 9 snd-$(CONFIG_SND_VMASTER) += vmaster.o 15 snd-$(CONFIG_SND_JACK) += ctljack.o jack.o !! 10 snd-$(CONFIG_SND_KCTL_JACK) += ctljack.o >> 11 snd-$(CONFIG_SND_JACK) += jack.o 16 12 17 snd-pcm-y := pcm.o pcm_native.o pcm_lib.o pcm_ !! 13 snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \ 18 pcm_memory.o memalloc.o !! 14 pcm_memory.o 19 snd-pcm-$(CONFIG_SND_PCM_TIMER) += pcm_timer.o << 20 snd-pcm-$(CONFIG_SND_PCM_ELD) += pcm_drm_eld.o << 21 snd-pcm-$(CONFIG_SND_PCM_IEC958) += pcm_iec958 << 22 << 23 # for trace-points << 24 CFLAGS_pcm_lib.o := -I$(src) << 25 CFLAGS_pcm_native.o := -I$(src) << 26 << 27 snd-pcm-dmaengine-y := pcm_dmaengine.o << 28 << 29 snd-ctl-led-y := control_led.o << 30 snd-rawmidi-y := rawmidi.o << 31 snd-ump-y := ump.o << 32 snd-ump-$(CONFIG_SND_UMP_LEGACY_RAWMIDI) += um << 33 snd-timer-y := timer.o << 34 snd-hrtimer-y := hrtimer.o << 35 snd-hwdep-y := hwdep.o << 36 snd-seq-device-y := seq_device.o << 37 15 38 snd-compress-y := compress_offload.o !! 16 snd-page-alloc-y := memalloc.o >> 17 snd-page-alloc-$(CONFIG_SND_DMA_SGBUF) += sgbuf.o >> 18 >> 19 snd-rawmidi-objs := rawmidi.o >> 20 snd-timer-objs := timer.o >> 21 snd-hrtimer-objs := hrtimer.o >> 22 snd-rtctimer-objs := rtctimer.o >> 23 snd-hwdep-objs := hwdep.o >> 24 >> 25 snd-compress-objs := compress_offload.o 39 26 40 obj-$(CONFIG_SND) += snd.o 27 obj-$(CONFIG_SND) += snd.o 41 obj-$(CONFIG_SND_CTL_LED) += snd-ctl-led << 42 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o 28 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o 43 obj-$(CONFIG_SND_TIMER) += snd-timer.o 29 obj-$(CONFIG_SND_TIMER) += snd-timer.o 44 obj-$(CONFIG_SND_HRTIMER) += snd-hrtimer 30 obj-$(CONFIG_SND_HRTIMER) += snd-hrtimer.o 45 obj-$(CONFIG_SND_PCM) += snd-pcm.o !! 31 obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o 46 obj-$(CONFIG_SND_DMAENGINE_PCM) += snd-pcm-dma !! 32 obj-$(CONFIG_SND_PCM) += snd-pcm.o snd-page-alloc.o 47 obj-$(CONFIG_SND_SEQ_DEVICE) += snd-seq-dev << 48 obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi 33 obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o 49 obj-$(CONFIG_SND_UMP) += snd-ump.o << 50 << 51 obj-$(CONFIG_SND_CORE_TEST) += sound_kunit << 52 34 53 obj-$(CONFIG_SND_OSSEMUL) += oss/ 35 obj-$(CONFIG_SND_OSSEMUL) += oss/ 54 obj-$(CONFIG_SND_SEQUENCER) += seq/ 36 obj-$(CONFIG_SND_SEQUENCER) += seq/ 55 37 56 obj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd 38 obj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.