update madwifi to latest version (fixes #2403)
[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 @!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_HOSTAUDIO
24 endef
25
26 define KernelPackage/sound-core/2.4
27 FILES:=$(LINUX_DIR)/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
28 AUTOLOAD:=$(call AutoLoad,30,soundcore)
29 endef
30
31 define KernelPackage/sound-core/2.6
32 # KCONFIG+= \
33 # CONFIG_SND \
34 # CONFIG_SND_HWDEP \
35 # CONFIG_SND_RAWMIDI \
36 # CONFIG_SND_TIMER \
37 # CONFIG_SND_PCM
38 FILES:= \
39 $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
40 $(LINUX_DIR)/sound/core/snd.$(LINUX_KMOD_SUFFIX) \
41 $(LINUX_DIR)/sound/core/snd-page-alloc.$(LINUX_KMOD_SUFFIX) \
42 $(LINUX_DIR)/sound/core/snd-hwdep.$(LINUX_KMOD_SUFFIX) \
43 $(LINUX_DIR)/sound/core/snd-rawmidi.$(LINUX_KMOD_SUFFIX) \
44 $(LINUX_DIR)/sound/core/snd-timer.$(LINUX_KMOD_SUFFIX) \
45 $(LINUX_DIR)/sound/core/snd-pcm.$(LINUX_KMOD_SUFFIX) \
46 $(if $(CONFIG_SND_MIXER_OSS),$(LINUX_DIR)/sound/core/oss/snd-mixer-oss.$(LINUX_KMOD_SUFFIX)) \
47 $(if $(CONFIG_SND_PCM_OSS),$(LINUX_DIR)/sound/core/oss/snd-pcm-oss.$(LINUX_KMOD_SUFFIX))
48 AUTOLOAD:=$(call AutoLoad,30, \
49 soundcore \
50 snd \
51 snd-page-alloc \
52 snd-hwdep \
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 # KCONFIG+= \
63 # CONFIG_HOSTAUDIO
64 FILES:= \
65 $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
66 $(LINUX_DIR)/arch/um/drivers/hostaudio.$(LINUX_KMOD_SUFFIX)
67 AUTOLOAD:=$(call AutoLoad,30,soundcore hostaudio)
68 endef
69
70 define KernelPackage/sound-core/description
71 Kernel modules for sound support
72 endef
73
74 $(eval $(call KernelPackage,sound-core))
75
This page took 0.059052 seconds and 5 git commands to generate.