[kernel] add textsearch, NF_CONNTRACK_AMANDA and NETFILTER_XT_MATCH_STRING need it.
[openwrt.git] / package / kernel / modules / sound.mk
1 #
2 # Copyright (C) 2006-2008 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 define KernelPackage/sound-core
12 SUBMENU:=$(SOUND_MENU)
13 TITLE:=Sound support
14 DEPENDS:=@PCI_SUPPORT||USB_SUPPORT
15 KCONFIG:= \
16 CONFIG_SOUND \
17 CONFIG_SND \
18 CONFIG_SND_HWDEP \
19 CONFIG_SND_RAWMIDI \
20 CONFIG_SND_TIMER \
21 CONFIG_SND_PCM \
22 CONFIG_SND_SEQUENCER \
23 CONFIG_SND_VIRMIDI \
24 CONFIG_SND_SEQ_DUMMY \
25 CONFIG_SND_SEQUENCER_OSS=y \
26 CONFIG_HOSTAUDIO
27 endef
28
29 define KernelPackage/sound-core/2.4
30 FILES:=$(LINUX_DIR)/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
31 AUTOLOAD:=$(call AutoLoad,30,soundcore)
32 endef
33
34 # allow 2.6 targets to override the soundcore stuff
35 SOUNDCORE_LOAD ?= \
36 soundcore \
37 snd \
38 snd-page-alloc \
39 snd-hwdep \
40 snd-seq-device \
41 snd-rawmidi \
42 snd-timer \
43 snd-pcm \
44 $(if $(CONFIG_SND_MIXER_OSS),snd-mixer-oss) \
45 $(if $(CONFIG_SND_PCM_OSS),snd-pcm-oss)
46
47 SOUNDCORE_FILES ?= \
48 $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
49 $(LINUX_DIR)/sound/core/snd.$(LINUX_KMOD_SUFFIX) \
50 $(LINUX_DIR)/sound/core/snd-page-alloc.$(LINUX_KMOD_SUFFIX) \
51 $(LINUX_DIR)/sound/core/snd-hwdep.$(LINUX_KMOD_SUFFIX) \
52 $(LINUX_DIR)/sound/core/seq/snd-seq-device.$(LINUX_KMOD_SUFFIX) \
53 $(LINUX_DIR)/sound/core/snd-rawmidi.$(LINUX_KMOD_SUFFIX) \
54 $(LINUX_DIR)/sound/core/snd-timer.$(LINUX_KMOD_SUFFIX) \
55 $(LINUX_DIR)/sound/core/snd-pcm.$(LINUX_KMOD_SUFFIX) \
56 $(if $(CONFIG_SND_MIXER_OSS),$(LINUX_DIR)/sound/core/oss/snd-mixer-oss.$(LINUX_KMOD_SUFFIX)) \
57 $(if $(CONFIG_SND_PCM_OSS),$(LINUX_DIR)/sound/core/oss/snd-pcm-oss.$(LINUX_KMOD_SUFFIX))
58
59 define KernelPackage/sound-core/2.6
60 FILES:=$(SOUNDCORE_FILES)
61 AUTOLOAD:=$(call AutoLoad,30,$(SOUNDCORE_LOAD))
62 endef
63
64 define KernelPackage/sound-core/uml-2.6
65 FILES:= \
66 $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
67 $(LINUX_DIR)/arch/um/drivers/hostaudio.$(LINUX_KMOD_SUFFIX)
68 AUTOLOAD:=$(call AutoLoad,30,soundcore hostaudio)
69 endef
70
71 define KernelPackage/sound-core/description
72 Kernel modules for sound support
73 endef
74
75 $(eval $(call KernelPackage,sound-core))
76
77 define KernelPackage/sound-i8x0
78 SUBMENU:=$(SOUND_MENU)
79 TITLE:=Intel/SiS/nVidia/AMD/ALi AC97 Controller
80 DEPENDS:=kmod-sound-core
81 KCONFIG:=CONFIG_SND_INTEL8X0
82 FILES:=$(LINUX_DIR)/sound/pci/snd-intel8x0.$(LINUX_KMOD_SUFFIX)
83 AUTOLOAD:=$(call AutoLoad,35,snd-i8x0)
84 endef
85
86 define KernelPackage/sound-i8x0/description
87 support for the integrated AC97 sound device on motherboards
88 with Intel/SiS/nVidia/AMD chipsets, or ALi chipsets using
89 the M5455 Audio Controller.
90 endef
91
92 $(eval $(call KernelPackage,sound-i8x0))
93
94 define KernelPackage/sound-ps3
95 SUBMENU:=$(SOUND_MENU)
96 TITLE:=PS3 Audio
97 DEPENDS:=kmod-sound-core
98 KCONFIG:=CONFIG_SND_PS3 \
99 CONFIG_SND_PPC
100 FILES:=$(LINUX_DIR)/sound/ppc/snd_ps3.$(LINUX_KMOD_SUFFIX)
101 AUTOLOAD:=$(call AutoLoad,35, snd_ps3)
102 endef
103
104 define KernelPackage/sound-ps3/description
105 support for the integrated PS3 audio device
106 endef
107
108 $(eval $(call KernelPackage,sound-ps3))
109
110 define KernelPackage/sound-cs5535audio
111 SUBMENU:=$(SOUND_MENU)
112 TITLE:=CS5535 PCI Controller
113 DEPENDS:=kmod-sound-core
114 KCONFIG:=CONFIG_SND_CS5535AUDIO
115 FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.$(LINUX_KMOD_SUFFIX) \
116 $(LINUX_DIR)/sound/ac97_bus.$(LINUX_KMOD_SUFFIX) \
117 $(LINUX_DIR)/sound/pci/ac97/snd-ac97-codec.$(LINUX_KMOD_SUFFIX)
118 AUTOLOAD:=$(call AutoLoad,35, ac97_bus snd-ac97-codec snd-cs5535audio)
119 endef
120
121 define KernelPackage/sound-cs5535audio/description
122 support for the integrated AC97 sound device on olpc
123 endef
124
125 $(eval $(call KernelPackage,sound-cs5535audio))
This page took 0.046032 seconds and 5 git commands to generate.