summaryrefslogtreecommitdiff
path: root/linux/drivers/media/Makefile
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-07-24 17:30:02 +0000
committerJohannes Stezenbach <devnull@localhost>2005-07-24 17:30:02 +0000
commit0d26f2838aa376691a6ca8af577abfef28bc5a2b (patch)
treefb5582af52ca570d20e3e931291ca927cfdc9e26 /linux/drivers/media/Makefile
parentd6c137977ba098ca4c2f6b8abca786006536ac8a (diff)
downloadmediapointer-dvb-s2-0d26f2838aa376691a6ca8af577abfef28bc5a2b.tar.gz
mediapointer-dvb-s2-0d26f2838aa376691a6ca8af577abfef28bc5a2b.tar.bz2
Don't build empty built-in.o when DVB/V4L is not configured.
Thanks to Sam Ravnborg and Keith Owens. Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/Makefile')
-rw-r--r--linux/drivers/media/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/Makefile b/linux/drivers/media/Makefile
index 772d6112f..c578a529e 100644
--- a/linux/drivers/media/Makefile
+++ b/linux/drivers/media/Makefile
@@ -2,4 +2,7 @@
# Makefile for the kernel multimedia device drivers.
#
-obj-y := video/ radio/ dvb/ common/
+obj-y := common/
+obj-$(CONFIG_VIDEO_DEV) += video/
+obj-$(CONFIG_VIDEO_DEV) += radio/
+obj-$(CONFIG_DVB) += dvb/