[DVB patch 03/54] avoid building empty built-in.o

Johannes Stezenbach
2005-09-04T23:29:54Z

[-- Attachment #1: dvb-no-empty-built-in_o.patch --]
[-- Type: text/plain, Size: 653 bytes --]

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>

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/

--