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 <[EMAIL PROTECTED]>

 drivers/media/Makefile |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

--- linux-2.6.13-git4.orig/drivers/media/Makefile       2005-09-04 
22:24:24.000000000 +0200
+++ linux-2.6.13-git4/drivers/media/Makefile    2005-09-04 22:27:51.000000000 
+0200
@@ -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/

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to