Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for ALSA
  4. # Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz>
  5. #
  6. snd-y := sound.o init.o memory.o control.o misc.o device.o
  7. ifneq ($(CONFIG_SND_PROC_FS),)
  8. snd-y += info.o
  9. snd-$(CONFIG_SND_OSSEMUL) += info_oss.o
  10. endif
  11. snd-$(CONFIG_ISA_DMA_API) += isadma.o
  12. snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o
  13. snd-$(CONFIG_SND_VMASTER) += vmaster.o
  14. snd-$(CONFIG_SND_JACK) += ctljack.o jack.o
  15. snd-pcm-y := pcm.o pcm_native.o pcm_lib.o pcm_misc.o \
  16. pcm_memory.o memalloc.o
  17. snd-pcm-$(CONFIG_SND_PCM_TIMER) += pcm_timer.o
  18. snd-pcm-$(CONFIG_SND_DMA_SGBUF) += sgbuf.o
  19. snd-pcm-$(CONFIG_SND_PCM_ELD) += pcm_drm_eld.o
  20. snd-pcm-$(CONFIG_SND_PCM_IEC958) += pcm_iec958.o
  21. # for trace-points
  22. CFLAGS_pcm_lib.o := -I$(src)
  23. CFLAGS_pcm_native.o := -I$(src)
  24. snd-pcm-dmaengine-objs := pcm_dmaengine.o
  25. snd-rawmidi-objs := rawmidi.o
  26. snd-timer-objs := timer.o
  27. snd-hrtimer-objs := hrtimer.o
  28. snd-rtctimer-objs := rtctimer.o
  29. snd-hwdep-objs := hwdep.o
  30. snd-seq-device-objs := seq_device.o
  31. snd-compress-objs := compress_offload.o
  32. obj-$(CONFIG_SND) += snd.o
  33. obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
  34. obj-$(CONFIG_SND_TIMER) += snd-timer.o
  35. obj-$(CONFIG_SND_HRTIMER) += snd-hrtimer.o
  36. obj-$(CONFIG_SND_PCM) += snd-pcm.o
  37. obj-$(CONFIG_SND_DMAENGINE_PCM) += snd-pcm-dmaengine.o
  38. obj-$(CONFIG_SND_SEQ_DEVICE) += snd-seq-device.o
  39. obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o
  40. obj-$(CONFIG_SND_OSSEMUL) += oss/
  41. obj-$(CONFIG_SND_SEQUENCER) += seq/
  42. #obj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o
  43. obj-y += snd-compress.o