diff options
author | Johannes Stezenbach <js@linuxtv.org> | 2005-09-09 22:02:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 22:57:36 +0200 |
commit | 3cc2176cbbee6adfaceac2df6d77312cf30cee83 (patch) | |
tree | 07dbe50b466a073e4e2f46448d1e3c8d662691b9 /drivers | |
parent | [PATCH] dvb: remove version.h dependencies (diff) | |
download | linux-3cc2176cbbee6adfaceac2df6d77312cf30cee83.tar.xz linux-3cc2176cbbee6adfaceac2df6d77312cf30cee83.zip |
[PATCH] dvb: avoid building empty built-in.o
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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/Makefile b/drivers/media/Makefile index 772d6112fb3b..c578a529e7a8 100644 --- a/drivers/media/Makefile +++ b/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/ |