summaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-08-25 08:35:31 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:39:38 -0300
commit5c0d0b21fd3868672b5a550093efa7a72e458ed7 (patch)
tree4e49950ccdd43feda5589ef7d19e7b5f8d16c037 /drivers/staging/tm6000/Makefile
parent3169c9b26fffa180bc3bc81dc247df2f4824ee7d (diff)
V4L/DVB (12789): tm6000: fix DVB dependency
Compilation were causing errors, if DVB_CORE weren't selected. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/Makefile')
-rw-r--r--drivers/staging/tm6000/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/staging/tm6000/Makefile b/drivers/staging/tm6000/Makefile
index 1fefe057d4e..9b0e5b5bf3d 100644
--- a/drivers/staging/tm6000/Makefile
+++ b/drivers/staging/tm6000/Makefile
@@ -1,10 +1,12 @@
tm6000-objs := tm6000-cards.o \
tm6000-core.o \
tm6000-i2c.o \
- tm6000-video.o \
- tm6000-dvb.o \
- hack.o \
+ tm6000-video.o
+ifeq ($(CONFIG_VIDEO_TM6000_DVB),y)
+tm6000-objs := tm6000-dvb.o \
+ hack.o
+endif
obj-$(CONFIG_VIDEO_TM6000) += tm6000.o