kernel: add missing module to video-core for kernel < 3.6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37659
This commit is contained in:
parent
65ef965e6e
commit
f43b6b2bea
1 changed files with 8 additions and 0 deletions
|
@ -99,10 +99,18 @@ define KernelPackage/video-core
|
||||||
CONFIG_V4L_PCI_DRIVERS=y \
|
CONFIG_V4L_PCI_DRIVERS=y \
|
||||||
CONFIG_V4L_PLATFORM_DRIVERS=y \
|
CONFIG_V4L_PLATFORM_DRIVERS=y \
|
||||||
CONFIG_V4L_ISA_PARPORT_DRIVERS=y
|
CONFIG_V4L_ISA_PARPORT_DRIVERS=y
|
||||||
|
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \
|
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \
|
||||||
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
|
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common)
|
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
|
endef
|
||||||
|
|
||||||
define KernelPackage/video-core/description
|
define KernelPackage/video-core/description
|
||||||
|
|
Loading…
Reference in a new issue