modules/other.mk: Enable bluetooth for atheros
[openwrt.git] / package / kernel / modules / sound.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 SOUND_MENU:=Sound Support
10
11 # XXX: remove @!TARGET_* later when we have PCI & USB support properly detected on all targets
12 define KernelPackage/sound-core
13 SUBMENU:=$(SOUND_MENU)
14 TITLE:=Sound support
15 DEPENDS:=@USB_SUPPORT||PCI_SUPPORT @!TARGET_atheros
16 KCONFIG:= \
17 CONFIG_SOUND \
18 CONFIG_SND \
19 CONFIG_SND_HWDEP \
20 CONFIG_SND_RAWMIDI \
21 CONFIG_SND_TIMER \
22 CONFIG_SND_PCM \
23 CONFIG_SND_SEQUENCER \
24 CONFIG_SND_VIRMIDI \
25 CONFIG_SND_SEQ_DUMMY \
26 CONFIG_SND_SEQUENCER_OSS=y \
27 CONFIG_HOSTAUDIO
28 endef
29
30 define KernelPackage/sound-core/2.4
31 FILES:=$(LINUX_DIR)/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
32 AUTOLOAD:=$(call AutoLoad,30,soundcore)
33 endef
34
35 define KernelPackage/sound-core/2.6
36 FILES:= \
37 $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
38 $(LINUX_DIR)/sound/core/snd.$(LINUX_KMOD_SUFFIX) \
39 $(LINUX_DIR)/sound/core/snd-page-alloc.$(LINUX_KMOD_SUFFIX) \
40 $(LINUX_DIR)/sound/core/snd-hwdep.$(LINUX_KMOD_SUFFIX) \
41 $(LINUX_DIR)/sound/core/seq/snd-seq-device.$(LINUX_KMOD_SUFFIX) \
42 $(LINUX_DIR)/sound/core/snd-rawmidi.$(LINUX_KMOD_SUFFIX) \
43 $(LINUX_DIR)/sound/core/snd-timer.$(LINUX_KMOD_SUFFIX) \
44 $(LINUX_DIR)/sound/core/snd-pcm.$(LINUX_KMOD_SUFFIX) \
45 $(if $(CONFIG_SND_MIXER_OSS),$(LINUX_DIR)/sound/core/oss/snd-mixer-oss.$(LINUX_KMOD_SUFFIX)) \
46 $(if $(CONFIG_SND_PCM_OSS),$(LINUX_DIR)/sound/core/oss/snd-pcm-oss.$(LINUX_KMOD_SUFFIX))
47 AUTOLOAD:=$(call AutoLoad,30, \
48 soundcore \
49 snd \
50 snd-page-alloc \
51 snd-hwdep \
52 snd-seq-device \
53 snd-rawmidi \
54 snd-timer \
55 snd-pcm \
56 $(if $(CONFIG_SND_MIXER_OSS),snd-mixer-oss) \
57 $(if $(CONFIG_SND_PCM_OSS),snd-pcm-oss) \
58 )
59 endef
60
61 define KernelPackage/sound-core/uml-2.6
62 FILES:= \
63 $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
64 $(LINUX_DIR)/arch/um/drivers/hostaudio.$(LINUX_KMOD_SUFFIX)
65 AUTOLOAD:=$(call AutoLoad,30,soundcore hostaudio)
66 endef
67
68 define KernelPackage/sound-core/description
69 Kernel modules for sound support
70 endef
71
72 $(eval $(call KernelPackage,sound-core))
73
74 define KernelPackage/sound-i8x0
75 SUBMENU:=$(SOUND_MENU)
76 TITLE:=Intel/SiS/nVidia/AMD/ALi AC97 Controller
77 DEPENDS:=kmod-sound-core
78 KCONFIG:=CONFIG_SND_INTEL8X0
79 FILES:=$(LINUX_DIR)/sound/pci/snd-intel8x0.$(LINUX_KMOD_SUFFIX)
80 AUTOLOAD:=$(call AutoLoad,35,snd-i8x0)
81 endef
82
83 define KernelPackage/sound-i8x0/description
84 support for the integrated AC97 sound device on motherboards
85 with Intel/SiS/nVidia/AMD chipsets, or ALi chipsets using
86 the M5455 Audio Controller.
87 endef
88
89 $(eval $(call KernelPackage,sound-i8x0))
90
91 define KernelPackage/sound-cs5535audio
92 SUBMENU:=$(SOUND_MENU)
93 TITLE:=CS5535 PCI Controller
94 DEPENDS:=kmod-sound-core
95 KCONFIG:=CONFIG_SND_CS5535AUDIO
96 FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.$(LINUX_KMOD_SUFFIX) \
97 $(LINUX_DIR)/sound/ac97_bus.$(LINUX_KMOD_SUFFIX) \
98 $(LINUX_DIR)/sound/pci/ac97/snd-ac97-codec.$(LINUX_KMOD_SUFFIX)
99 AUTOLOAD:=$(call AutoLoad,35, ac97_bus snd-ac97-codec snd-cs5535audio)
100 endef
101
102 define KernelPackage/sound-cs5535audio/description
103 support for the integrated AC97 sound device on olpc
104 endef
105
106 $(eval $(call KernelPackage,sound-cs5535audio))
This page took 0.062918 seconds and 5 git commands to generate.