video modules changes: change dependency on kmod-video-core from select to depends, cleanup

SVN-Revision: 8856
This commit is contained in:
Nicolas Thill 2007-09-20 07:31:06 +00:00
parent 7ba4e5c3c0
commit 092021f69b
5 changed files with 29 additions and 41 deletions

View file

@ -44,10 +44,26 @@ endef
$(eval $(call KernelPackage,video-core)) $(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 define KernelPackage/video-pwc
SUBMENU:=$(VIDEO_MENU) SUBMENU:=$(VIDEO_MENU)
TITLE:=Philips webcam support TITLE:=Philips USB webcam support
DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
KCONFIG:= \ KCONFIG:= \
CONFIG_USB_PWC \ CONFIG_USB_PWC \
CONFIG_USB_PWC_DEBUG=n CONFIG_USB_PWC_DEBUG=n
@ -62,18 +78,3 @@ endef
$(eval $(call KernelPackage,video-pwc)) $(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))

View file

@ -38,8 +38,8 @@ endef
define KernelPackage/video-quickcam define KernelPackage/video-quickcam
$(call Package/qc-usb/Default) $(call Package/qc-usb/Default)
SUBMENU:=Video Support SUBMENU:=Video Support
TITLE:=USB QuickCam Express webcam support TITLE:=QuickCam Express USB webcam support
DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
FILES:=$(PKG_BUILD_DIR)/quickcam.$(LINUX_KMOD_SUFFIX) FILES:=$(PKG_BUILD_DIR)/quickcam.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,90,quickcam) AUTOLOAD:=$(call AutoLoad,90,quickcam)
endef endef
@ -52,14 +52,9 @@ endef
ifneq ($(CONFIG_PACKAGE_kmod-video-quickcam),) ifneq ($(CONFIG_PACKAGE_kmod-video-quickcam),)
define Build/Compile/kmod define Build/Compile/kmod
$(MAKE) -C $(LINUX_DIR) \ $(MAKE) -C $(LINUX_DIR) \
PATH="$(TARGET_PATH)" \ ARCH="$(LINUX_KARCH)" \
KVER="$(LINUX_VERSION)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
KERNELRELEASE="$(LINUX_VERSION)" \ SUBDIRS="$(PKG_BUILD_DIR)" \
KSRC="$(LINUX_DIR)" \
SUBDIRS="$(PKG_BUILD_DIR)" \
KERNEL_DIR="$(KERNEL_DIR)" \
ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
modules modules
endef endef
endif endif

View file

@ -16,15 +16,16 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME).tar.bz2 PKG_SOURCE:=$(PKG_NAME).tar.bz2
PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt/ PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt/
PKG_MD5SUM:= PKG_MD5SUM:=
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define KernelPackage/video-spca5xx-le define KernelPackage/video-spca5xx-le
SUBMENU:=Video Support SUBMENU:=Video Support
DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core
TITLE:=SPCA5xx based USB webcam support (Light Edition) TITLE:=SPCA5xx based USB webcam support (Light Edition)
URL:=http://mxhaard.free.fr/ URL:=http://mxhaard.free.fr/
DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
FILES:=$(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX) FILES:=$(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,90,spca5xx) AUTOLOAD:=$(call AutoLoad,90,spca5xx)
endef endef
@ -33,9 +34,6 @@ define Build/Compile
$(MAKE) -C $(LINUX_DIR) \ $(MAKE) -C $(LINUX_DIR) \
ARCH="$(LINUX_KARCH)" \ ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
KERNELVERSION="$(KERNEL)" \
KERNEL_VERSION="$(LINUX_VERSION)" \
KERNELDIR="$(LINUX_DIR)" \
SUBDIRS="$(PKG_BUILD_DIR)" \ SUBDIRS="$(PKG_BUILD_DIR)" \
modules modules
endef endef

View file

@ -21,9 +21,9 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/video-gspca define KernelPackage/video-gspca
SUBMENU:=Video Support SUBMENU:=Video Support
DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core
TITLE:=SPCA5xx based USB webcam support TITLE:=SPCA5xx based USB webcam support
URL:=http://mxhaard.free.fr/ URL:=http://mxhaard.free.fr/
DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
FILES:=$(PKG_BUILD_DIR)/gspca.$(LINUX_KMOD_SUFFIX) FILES:=$(PKG_BUILD_DIR)/gspca.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,90,gspca) AUTOLOAD:=$(call AutoLoad,90,gspca)
endef endef
@ -32,9 +32,6 @@ define Build/Compile
$(MAKE) -C $(LINUX_DIR) \ $(MAKE) -C $(LINUX_DIR) \
ARCH="$(LINUX_KARCH)" \ ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
KERNELVERSION="$(KERNEL)" \
KERNEL_VERSION="$(LINUX_VERSION)" \
KERNELDIR="$(LINUX_DIR)" \
SUBDIRS="$(PKG_BUILD_DIR)" \ SUBDIRS="$(PKG_BUILD_DIR)" \
modules modules
endef endef

View file

@ -4,7 +4,7 @@
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
# #
# $Id: $ # $Id$
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
@ -21,9 +21,9 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/video-uvc define KernelPackage/video-uvc
SUBMENU:=Video Support SUBMENU:=Video Support
DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core TITLE:=USB Video Class (UVC) support
TITLE:=Linux-UVC based USB webcam support
URL:=http://linux-uvc.berlios.de/ URL:=http://linux-uvc.berlios.de/
DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
FILES:=$(PKG_BUILD_DIR)/uvcvideo.$(LINUX_KMOD_SUFFIX) FILES:=$(PKG_BUILD_DIR)/uvcvideo.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,90,uvcvideo) AUTOLOAD:=$(call AutoLoad,90,uvcvideo)
endef endef
@ -32,9 +32,6 @@ define Build/Compile
$(MAKE) -C $(LINUX_DIR) \ $(MAKE) -C $(LINUX_DIR) \
ARCH="$(LINUX_KARCH)" \ ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
KERNELVERSION="$(KERNEL)" \
KERNEL_VERSION="$(LINUX_VERSION)" \
KERNELDIR="$(LINUX_DIR)" \
SUBDIRS="$(PKG_BUILD_DIR)" \ SUBDIRS="$(PKG_BUILD_DIR)" \
modules modules
endef endef