port soundcore module
authorFelix Fietkau <nbd@openwrt.org>
Tue, 17 Oct 2006 21:19:49 +0000 (21:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 17 Oct 2006 21:19:49 +0000 (21:19 +0000)
SVN-Revision: 5199

include/modules-2.4.mk
include/modules-2.6.mk
package/kernel/modules/other.mk
target/linux/Config.in

index 007f6600ccf792b8efa7b5d879a5902e7396a5ab..591250cb9d09d1d3100d6613add8cbc391e71317 100644 (file)
@@ -62,10 +62,6 @@ $(eval $(call KMOD_template,PWC,pwc,\
        $(MODULES_DIR)/kernel/drivers/usb/pwc.o \
 ,CONFIG_USB_PWC,kmod-videodev,63,pwc))
 
-$(eval $(call KMOD_template,SOUNDCORE,soundcore,\
-       $(MODULES_DIR)/kernel/drivers/sound/soundcore.o \
-,CONFIG_SOUND,,30,soundcore))
-
 $(eval $(call KMOD_template,VIDEODEV,videodev,\
        $(MODULES_DIR)/kernel/drivers/media/video/videodev.o \
 ,CONFIG_VIDEO_DEV,,62,videodev))
index a44800d594bee978a1998edc0765fb6e5985d405..e22ac7f233d217187ecda37507cd1687d62abc2e 100644 (file)
@@ -62,10 +62,6 @@ $(eval $(call KMOD_template,PWC,pwc,\
        $(MODULES_DIR)/kernel/drivers/usb/media/pwc/pwc.ko \
 ,CONFIG_USB_PWC,kmod-videodev,63,pwc))
 
-$(eval $(call KMOD_template,SOUNDCORE,soundcore,\
-       $(MODULES_DIR)/kernel/sound/soundcore.ko \
-,CONFIG_SOUND,,30,soundcore))
-
 $(eval $(call KMOD_template,VIDEODEV,videodev,\
        $(MODULES_DIR)/kernel/drivers/media/video/v4l1-compat.ko \
        $(MODULES_DIR)/kernel/drivers/media/video/v4l2-common.ko \
index 44ef7e1e5f58db73c194a5979d374e26313a5f1b..475fcd0defa72f40c594417c809971e20ef05295 100644 (file)
@@ -81,4 +81,21 @@ endef
 $(eval $(call KernelPackage,lp))
 
 
+define KernelPackage/soundcore
+  TITLE:=Sound support
+  DESCRIPTION:=Kernel modules for sound support
+  KCONFIG:=$(CONFIG_SOUND)
+  SUBMENU:=$(EMENU)
+  AUTOLOAD:=$(call AutoLoad,30,soundcore)
+endef
+
+define KernelPackage/soundcore/2.4
+  FILES:=$(MODULES_DIR)/kernel/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
+endef
+
+define KernelPackage/soundcore/2.6
+  FILES:=$(MODULES_DIR)/kernel/sound/soundcore.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,soundcore))
+
 
index 21d7d58d42ddf2087bba8296e4251b07307cf0a0..afdcb64c69e3e4190e300791040b31b1fc388da7 100644 (file)
@@ -83,14 +83,6 @@ config PACKAGE_KMOD_PWC
        depends PACKAGE_kmod-usb-core
        default m
 
-config PACKAGE_KMOD_SOUNDCORE
-       prompt "kmod-soundcore.................... Soundcard support"
-       tristate
-       default n
-       help
-         Base support for soundcards
-         Requires either USB soundcard support (OSS) or ALSA package to be useful
-
 config PACKAGE_KMOD_VIDEODEV
        prompt "kmod-videodev..................... Video (For Linux) kernel support"
        tristate