aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-08-02 20:08:20 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-08-02 20:08:20 +0000
commit3d7515b126382ff1c7ce288f4e7af4c847be0db0 (patch)
tree15ce4a1e7712b66a2901a251d7b4382ee7b4ae0b /package
parentf8b96ddc6dacbac2edb1135c6d40ed99e468b7dc (diff)
downloadmaster-187ad058-3d7515b126382ff1c7ce288f4e7af4c847be0db0.tar.gz
master-187ad058-3d7515b126382ff1c7ce288f4e7af4c847be0db0.tar.bz2
master-187ad058-3d7515b126382ff1c7ce288f4e7af4c847be0db0.zip
kernel: add missing module to video-core for kernel < 3.6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37659 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/video.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index cd9525857e..3aac7bdae5 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -99,10 +99,18 @@ define KernelPackage/video-core
CONFIG_V4L_PCI_DRIVERS=y \
CONFIG_V4L_PLATFORM_DRIVERS=y \
CONFIG_V4L_ISA_PARPORT_DRIVERS=y
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
FILES:= \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common)
+else
+ FILES:= \
+ $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-compat-ioctl32.ko \
+ $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \
+ $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
+ AUTOLOAD:=$(call AutoLoad,60, v4l2-compat-ioctl32 videodev v4l2-common)
+endif
endef
define KernelPackage/video-core/description