From: Johannes Stezenbach Date: Fri, 9 Sep 2005 20:02:20 +0000 (-0700) Subject: [PATCH] dvb: avoid building empty built-in.o X-Git-Tag: v2.6.14-rc1~436 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cc2176cbbee6adfaceac2df6d77312cf30cee83;p=platform%2Fkernel%2Flinux-exynos.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 772d611..c578a52 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/