make spca5xx depend on video device support in the kernel
SVN-Revision: 6153
This commit is contained in:
parent
7248b5e0a9
commit
69d76bb482
4 changed files with 6 additions and 1 deletions
|
@ -21,6 +21,9 @@ endif
|
|||
ifneq ($(CONFIG_PCMCIA),)
|
||||
FEATURES += pcmcia
|
||||
endif
|
||||
ifneq ($(CONFIG_VIDEO_DEV),)
|
||||
FEATURES += video
|
||||
endif
|
||||
|
||||
# remove duplicates
|
||||
FEATURES:=$(sort $(FEATURES))
|
||||
|
|
|
@ -229,6 +229,7 @@ $(eval $(call KernelPackage,softdog))
|
|||
define KernelPackage/videodev
|
||||
TITLE=Video4Linux support
|
||||
DESCRIPTION:=Kernel modules for Video4Linux support
|
||||
DEPENDS:=@VIDEO_SUPPORT
|
||||
SUBMENU:=$(EMENU)
|
||||
KCONFIG:=$(CONFIG_VIDEO_DEV)
|
||||
FILES:=$(MODULES_DIR)/kernel/drivers/media/video/*.$(LINUX_KMOD_SUFFIX)
|
||||
|
|
|
@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||
|
||||
define KernelPackage/spca5xx
|
||||
SUBMENU:=Other modules
|
||||
DEPENDS:=kmod-usb-core kmod-videodev
|
||||
DEPENDS:=kmod-usb-core kmod-videodev @VIDEO_SUPPORT
|
||||
TITLE:=Driver for SPCA5xx based USB cameras
|
||||
URL:=http://mxhaard.free.fr/
|
||||
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
|
||||
|
|
|
@ -180,6 +180,7 @@ sub target_config_features(@) {
|
|||
/usb/ and $ret .= "\tselect USB_SUPPORT\n";
|
||||
/atm/ and $ret .= "\tselect ATM_SUPPORT\n";
|
||||
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
|
||||
/video/ and $ret .= "\tselect VIDEO_SUPPORT\n";
|
||||
/squashfs/ and $ret .= "\tselect USES_SQUASHFS\n";
|
||||
/jffs2/ and $ret .= "\tselect USES_JFFS2\n";
|
||||
/ext2/ and $ret .= "\tselect USES_EXT2\n";
|
||||
|
|
Loading…
Reference in a new issue