Re: Why is DVB stuff compiling?

From: Michael Krufky
Date: Mon Oct 17 2005 - 22:07:32 EST


Michael Krufky wrote:

Cyber Dog wrote:

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

Which is what I would expect. So why are these things compiling into
the kernel even if they're not selected? Or am I missing something
about the process? Kernel 2.6.13.3 here. Thanks.

If you go look, you will notice that all of those built-in.o are zero bytes large. We've already fixed this in kernel 2.6.14 by preventing the build of these empty units with the following patch (you can safely apply it to 2.6.13.y):


I forgot to mention... You CAN apply the patch in my previous message if it bothers you enough, but it won't have any real affect on your kernel, as those built-in.o are all empty anyway.


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@xxxxxxxxxxx <mailto:js@xxxxxxxxxxx>>

...and I hate it when Thunderbird does stuff like this when I cut&paste email addresses :-(

--
Michael Krufky

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/