diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-12-23 13:02:16 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-02 14:11:25 -0500 |
commit | 4ab9203b1b7e45f1beae7eb0c67d663a26257a69 (patch) | |
tree | 404acd7aa8c3fc77802ab00e26616313d43a0ddc | |
parent | c7dd09dabc278b03980c8e93d0eee3843b5ad514 (diff) |
V4L/DVB (10137): v4l2-compat32: only build if needed
Add CONFIG_COMPAT check in Makefile.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile index 1611c33b1ae..72f6d03d2d8 100644 --- a/drivers/media/video/Makefile +++ b/drivers/media/video/Makefile | |||
@@ -12,7 +12,10 @@ omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o | |||
12 | 12 | ||
13 | videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-subdev.o | 13 | videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-subdev.o |
14 | 14 | ||
15 | obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-compat-ioctl32.o v4l2-int-device.o | 15 | obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o |
16 | ifeq ($(CONFIG_COMPAT),y) | ||
17 | obj-$(CONFIG_VIDEO_DEV) += v4l2-compat-ioctl32.o | ||
18 | endif | ||
16 | 19 | ||
17 | obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o | 20 | obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o |
18 | 21 | ||