From 157f1fad33e13c5b01c2dc5fbc674e107605f866 Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 20 Sep 2007 07:31:06 +0000 Subject: video modules changes: change dependency on kmod-video-core from select to depends, cleanup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8856 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/video.mk | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'package/kernel/modules') diff --git a/package/kernel/modules/video.mk b/package/kernel/modules/video.mk index 79ee7029f..4a3603164 100644 --- a/package/kernel/modules/video.mk +++ b/package/kernel/modules/video.mk @@ -44,10 +44,26 @@ endef $(eval $(call KernelPackage,video-core)) +define KernelPackage/video-cpia2 + SUBMENU:=$(VIDEO_MENU) + TITLE:=CPIA2 video driver + DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core + KCONFIG:=CONFIG_VIDEO_CPIA2 + FILES:=$(LINUX_DIR)/drivers/media/video/cpia2/cpia2.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,70,cpia2) +endef + +define KernelPackage/video-cpia2/description + Kernel modules for supporting CPIA2 USB based cameras. +endef + +$(eval $(call KernelPackage,video-cpia2)) + + define KernelPackage/video-pwc SUBMENU:=$(VIDEO_MENU) - TITLE:=Philips webcam support - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core + TITLE:=Philips USB webcam support + DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core KCONFIG:= \ CONFIG_USB_PWC \ CONFIG_USB_PWC_DEBUG=n @@ -62,18 +78,3 @@ endef $(eval $(call KernelPackage,video-pwc)) - -define KernelPackage/video-cpia2 - SUBMENU:=$(VIDEO_MENU) - TITLE:=CPIA2 video driver - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core - KCONFIG:=CONFIG_VIDEO_CPIA2 - FILES:=$(LINUX_DIR)/drivers/media/video/cpia2/cpia2.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,70,cpia2) -endef - -define KernelPackage/video-cpia2/description - Kernel modules for supporting CPIA2 USB based cameras. -endef - -$(eval $(call KernelPackage,video-cpia2)) -- cgit v1.2.3