summaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/Makefile
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2013-01-05 18:56:10 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-06 10:46:40 -0200
commit668a8b3b57e26a14a5172c84da0d861fb9f697d9 (patch)
tree42329e6f3dc18476865f9b3c1b2e9b5fdfd3259e /drivers/media/v4l2-core/Makefile
parent5e8d02bb346d6240b029f1990ddc295d7d59685b (diff)
downloadblackbird-op-linux-668a8b3b57e26a14a5172c84da0d861fb9f697d9.tar.gz
blackbird-op-linux-668a8b3b57e26a14a5172c84da0d861fb9f697d9.zip
[media] v4l: Don't compile v4l2-int-device unless really needed
Add a configuration option for v4l2-int-device so it is only compiled when necessary, which is only by omap24xxcam and tcm825x drivers. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/v4l2-core/Makefile')
-rw-r--r--drivers/media/v4l2-core/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/v4l2-core/Makefile b/drivers/media/v4l2-core/Makefile
index c2d61d4f03d1..a9d355230e8e 100644
--- a/drivers/media/v4l2-core/Makefile
+++ b/drivers/media/v4l2-core/Makefile
@@ -10,7 +10,8 @@ ifeq ($(CONFIG_COMPAT),y)
videodev-objs += v4l2-compat-ioctl32.o
endif
-obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o
+obj-$(CONFIG_VIDEO_DEV) += videodev.o
+obj-$(CONFIG_VIDEO_V4L2_INT_DEVICE) += v4l2-int-device.o
obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o
obj-$(CONFIG_VIDEO_TUNER) += tuner.o
OpenPOWER on IntegriCloud