From 0d26f2838aa376691a6ca8af577abfef28bc5a2b Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Sun, 24 Jul 2005 17:30:02 +0000 Subject: 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 --- linux/drivers/media/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/Makefile') diff --git a/linux/drivers/media/Makefile b/linux/drivers/media/Makefile index 772d6112f..c578a529e 100644 --- a/linux/drivers/media/Makefile +++ b/linux/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/ -- cgit v1.2.3