-define KernelPackage/soundcore
- SUBMENU:=$(EMENU)
- TITLE:=Sound support
- DESCRIPTION:=Kernel modules for sound support
- KCONFIG:=CONFIG_SOUND
-endef
-
-define KernelPackage/soundcore/2.4
- FILES:=$(LINUX_DIR)/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,soundcore)
-endef
-
-define KernelPackage/soundcore/2.6
- KCONFIG+= \
- CONFIG_SND \
- CONFIG_SND_HWDEP \
- CONFIG_SND_RAWMIDI \
- CONFIG_SND_TIMER \
- CONFIG_SND_PCM
- FILES:= \
- $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/sound/core/snd.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/sound/core/snd-page-alloc.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/sound/core/snd-hwdep.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/sound/core/snd-rawmidi.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/sound/core/snd-timer.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/sound/core/snd-pcm.$(LINUX_KMOD_SUFFIX) \
- $(if $(CONFIG_SND_MIXER_OSS),$(LINUX_DIR)/sound/core/oss/snd-mixer-oss.$(LINUX_KMOD_SUFFIX)) \
- $(if $(CONFIG_SND_PCM_OSS),$(LINUX_DIR)/sound/core/oss/snd-pcm-oss.$(LINUX_KMOD_SUFFIX))
- AUTOLOAD:=$(call AutoLoad,30, \
- soundcore \
- snd \
- snd-page-alloc \
- snd-hwdep \
- snd-rawmidi \
- snd-timer \
- snd-pcm \
- $(if $(CONFIG_SND_MIXER_OSS),snd-mixer-oss) \
- $(if $(CONFIG_SND_PCM_OSS),snd-pcm-oss) \
- )
-endef
-
-define KernelPackage/soundcore/uml-2.6
- KCONFIG+= \
- CONFIG_HOSTAUDIO
- FILES:= \
- $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/arch/um/drivers/hostaudio.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,soundcore hostaudio)
-endef
-
-$(eval $(call KernelPackage,soundcore))
-
-
-define KernelPackage/loop
- SUBMENU:=$(EMENU)
- TITLE:=Loopback device support
- DESCRIPTION:=Kernel module for loopback device support
- KCONFIG:=CONFIG_BLK_DEV_LOOP
- FILES:=$(LINUX_DIR)/drivers/block/loop.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,loop)
-endef
-
-$(eval $(call KernelPackage,loop))
-
-
-define KernelPackage/nbd
- SUBMENU:=$(EMENU)
- TITLE:=Network block device support
- DESCRIPTION:=Kernel module for network block device support
- KCONFIG:=CONFIG_BLK_DEV_NBD
- FILES:=$(LINUX_DIR)/drivers/block/nbd.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,nbd)
-endef
-
-$(eval $(call KernelPackage,nbd))
-
-
-define KernelPackage/capi
- SUBMENU:=$(EMENU)
- TITLE:=CAPI Support
- DESCRIPTION:=Kernel module for basic CAPI support
- DEPENDS:=@LINUX_2_6
- KCONFIG:= \
- CONFIG_ISDN \
- CONFIG_ISDN_CAPI \
- CONFIG_ISDN_CAPI_CAPI20
- FILES:= \
- $(LINUX_DIR)/drivers/isdn/capi/kernelcapi.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/isdn/capi/capi.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
-endef
-
-$(eval $(call KernelPackage,capi))
-
-