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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux