From: Johannes Stezenbach Date: Fri, 9 Sep 2005 20:02:20 +0000 (-0700) Subject: [PATCH] dvb: avoid building empty built-in.o X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3cc2176cbbee6adfaceac2df6d77312cf30cee83;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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/