summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-21 02:02:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-21 02:02:01 +0000
commit7082dce3c68d7ced81caccd694a6a4edf1587c32 (patch)
treeb77b8534a2559bfa3bd2a1a50d372ca1fddaa2a9 /package
parent9604e1d4f7bffc0ae21af3220818f489ea1c92f1 (diff)
make spca5xx depend on video device support in the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6153 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/other.mk1
-rw-r--r--package/spca5xx/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index d0975e01c..d644ce5f5 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -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)
diff --git a/package/spca5xx/Makefile b/package/spca5xx/Makefile
index 33f4ef0c4..078759bf4 100644
--- a/package/spca5xx/Makefile
+++ b/package/spca5xx/Makefile
@@ -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)