Date: Sun, 02 Jan 2011 15:45:20 -0600 From: CyberLeo Kitsana <cyberleo@cyberleo.net> To: perryh@pluto.rain.com Cc: freebsd-questions@freebsd.org Subject: Re: kernel config =?> kernel code Message-ID: <4D20F1F0.8050806@cyberleo.net> In-Reply-To: <4d20405b.peoSjXlhfff4u/n7%perryh@pluto.rain.com> References: <4d20405b.peoSjXlhfff4u/n7%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/02/2011 03:07 AM, perryh@pluto.rain.com wrote: > This feels like a really dumb (as in, the answer should be obvious) > question, but so far it has eluded me: Given an option name in the > kernel configuration file, how -- exactly -- does the directive to > include or exclude that option get translated into particular code > (source lines, .o files, symbols, etc.) that are thereby included in > or excluded from the kernel? This is of interest to me as well, as I have been trying for a while to create something to avoid building or installing kmods whose functionality is already built into the kernel proper. The furthest I got in my investigation was some parsing of sys/conf/files[1]. [1] http://wiki.cyberleo.net/wiki/KnowledgeBase/FreeBSD/srcsysmod_kmod.sh -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <CyberLeo@CyberLeo.Net> Furry Peace! - http://wwww.fur.com/peace/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D20F1F0.8050806>