diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-08-03 10:10:16 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-08-03 10:10:16 +0000 |
commit | 41f4faa061382aa0d9d924ae2f27d918d04f95bb (patch) | |
tree | 108fcc36199da2b1c325fbfa7ee4a0a5ce6ff750 /package/kernel | |
parent | 76cf5e5ba63cc69a976b168b66005ea5eadfa52e (diff) | |
download | master-187ad058-41f4faa061382aa0d9d924ae2f27d918d04f95bb.tar.gz master-187ad058-41f4faa061382aa0d9d924ae2f27d918d04f95bb.tar.bz2 master-187ad058-41f4faa061382aa0d9d924ae2f27d918d04f95bb.zip |
kernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37661 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/video.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 3aac7bdae5..407ff8d942 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -106,10 +106,10 @@ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1) AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common) else FILES:= \ - $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-compat-ioctl32.ko \ + $(if $(CONFIG_COMPAT),$(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) + AUTOLOAD:=$(call AutoLoad,60, $(if $(CONFIG_COMPAT),v4l2-compat-ioctl32) videodev v4l2-common) endif endef |