Skip to content

Commit 3cc2176

Browse files
Johannes StezenbachLinus Torvalds
authored andcommitted
[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 <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 34f7373 commit 3cc2176

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎drivers/media/Makefile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
# Makefile for the kernel multimedia device drivers.
33
#
44

5-
obj-y := video/ radio/ dvb/ common/
5+
obj-y := common/
6+
obj-$(CONFIG_VIDEO_DEV) += video/
7+
obj-$(CONFIG_VIDEO_DEV) += radio/
8+
obj-$(CONFIG_DVB) += dvb/

0 commit comments

Comments
 (0)