-define KernelPackage/videodev/2.4
- FILES:=$(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,60,videodev)
-endef
-
-define KernelPackage/videodev/2.6
- FILES:= \
- $(LINUX_DIR)/drivers/media/video/v4l2-common.$(LINUX_KMOD_SUFFIX) \
- $(if $(CONFIG_VIDEO_V4L1_COMPAT),$(LINUX_DIR)/drivers/media/video/v4l1-compat.$(LINUX_KMOD_SUFFIX)) \
- $(LINUX_DIR)/drivers/media/video/compat_ioctl32.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,60, \
- v4l2-common \
- $(if $(CONFIG_VIDEO_V4L1_COMPAT),v4l1-compat) \
- compat_ioctl32 \
- videodev \
- )
-endef
-
-$(eval $(call KernelPackage,videodev))