aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-08-03 10:10:16 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-08-03 10:10:16 +0000
commitd2ed54596d5033b415edfa2da7217c73ee180aa3 (patch)
treef491fc27d14d1b11bae712bb021f73001b1ed7bd
parentb2d2ca4bbd3b0bd7fd0fdab5b3d5b5c5586c37b0 (diff)
downloadupstream-d2ed54596d5033b415edfa2da7217c73ee180aa3.tar.gz
upstream-d2ed54596d5033b415edfa2da7217c73ee180aa3.tar.bz2
upstream-d2ed54596d5033b415edfa2da7217c73ee180aa3.zip
kernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set
SVN-Revision: 37661
-rw-r--r--package/kernel/linux/modules/video.mk4
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