diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-12-23 19:02:16 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-12-23 19:02:16 +0100 |
commit | db66abb56195fcfe907beec7b9a3d29278306256 (patch) | |
tree | 90a800b31cbc292890e7bd79d5459e1340d5a28e /linux | |
parent | 8cf45753ff5b8f410dcb8165cf5c339436153ed8 (diff) | |
download | mediapointer-dvb-s2-db66abb56195fcfe907beec7b9a3d29278306256.tar.gz mediapointer-dvb-s2-db66abb56195fcfe907beec7b9a3d29278306256.tar.bz2 |
v4l2-compat32: only build if needed
From: Hans Verkuil <hverkuil@xs4all.nl>
Add CONFIG_COMPAT check in Makefile.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/video/Makefile b/linux/drivers/media/video/Makefile index 1611c33b1..72f6d03d2 100644 --- a/linux/drivers/media/video/Makefile +++ b/linux/drivers/media/video/Makefile @@ -12,7 +12,10 @@ omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-subdev.o -obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-compat-ioctl32.o v4l2-int-device.o +obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o +ifeq ($(CONFIG_COMPAT),y) + obj-$(CONFIG_VIDEO_DEV) += v4l2-compat-ioctl32.o +endif obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o |