mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 08:25:29 +00:00
With kernel bigger than 2.6.29 compat_ioctl32 will not be build.
SVN-Revision: 15779
This commit is contained in:
parent
5b9b001e23
commit
34d864de0a
@ -23,6 +23,19 @@ define KernelPackage/video-core/2.4
|
|||||||
AUTOLOAD:=$(call AutoLoad,60,videodev)
|
AUTOLOAD:=$(call AutoLoad,60,videodev)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.29)),1)
|
||||||
|
define KernelPackage/video-core/2.6
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/drivers/media/video/v4l2-common.$(LINUX_KMOD_SUFFIX) \
|
||||||
|
$(LINUX_DIR)/drivers/media/video/v4l1-compat.$(LINUX_KMOD_SUFFIX) \
|
||||||
|
$(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
|
||||||
|
AUTOLOAD:=$(call AutoLoad,60, \
|
||||||
|
v4l1-compat \
|
||||||
|
videodev \
|
||||||
|
v4l2-common \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
else
|
||||||
define KernelPackage/video-core/2.6
|
define KernelPackage/video-core/2.6
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/drivers/media/video/v4l2-common.$(LINUX_KMOD_SUFFIX) \
|
$(LINUX_DIR)/drivers/media/video/v4l2-common.$(LINUX_KMOD_SUFFIX) \
|
||||||
@ -30,12 +43,13 @@ define KernelPackage/video-core/2.6
|
|||||||
$(LINUX_DIR)/drivers/media/video/compat_ioctl32.$(LINUX_KMOD_SUFFIX) \
|
$(LINUX_DIR)/drivers/media/video/compat_ioctl32.$(LINUX_KMOD_SUFFIX) \
|
||||||
$(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
|
$(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
|
||||||
AUTOLOAD:=$(call AutoLoad,60, \
|
AUTOLOAD:=$(call AutoLoad,60, \
|
||||||
v4l2-common \
|
|
||||||
v4l1-compat \
|
v4l1-compat \
|
||||||
compat_ioctl32 \
|
|
||||||
videodev \
|
videodev \
|
||||||
|
v4l2-common \
|
||||||
|
compat_ioctl32 \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define KernelPackage/video-core/description
|
define KernelPackage/video-core/description
|
||||||
Kernel modules for Video4Linux support
|
Kernel modules for Video4Linux support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user