Date: Fri, 21 Mar 2003 19:32:40 +0300 From: Yar Tikhiy <yar@FreeBSD.ORG> To: Ruslan Ermilov <ru@FreeBSD.ORG> Cc: hackers@FreeBSD.ORG Subject: Re: Build options for kernel modules Message-ID: <20030321163239.GB56375@comp.chem.msu.su> In-Reply-To: <20030321153522.GD15185@sunbay.com> References: <20030321153217.GA53518@comp.chem.msu.su> <20030321153522.GD15185@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 21, 2003 at 05:35:22PM +0200, Ruslan Ermilov wrote: > On Fri, Mar 21, 2003 at 06:32:17PM +0300, Yar Tikhiy wrote: > > Hi there, > > > > Excuse my stupid question, but I seem to have no time to do the > > investigation by myself right now so I'd be glad to receive a brief > > answer from someone who has the information. > > > > As far as I can see, kernel modules should be built along with the > > kernel for the only reason of keeping their mutual interfaces in > > sync, has a source file defining such an interface changed. Is > > there currently no way to go further and affect a kernel module's > > built-in features with kernel config file options, besides modifying > > makefiles in /sys/modules? > > > There is. It's called ``makeoptions''. It's passed to both > kernel and modules builds. I beg your pardon, but "makeoptions" is just next to editing makefiles in /sys/modules. My dream was that specifying, e.g., "options IPFIREWALL_VERBOSE" would result in building ipfw.ko inherently chatty :-) BTW, Ruslan, let me ask you another question, as you've been recently working at kern.mk files. Is it on purpose that the target "kernel-cleandir" doesn't invoke "kernel-cleandepend"? I've been sure that by common practice "cleandir" should remove dependency files... -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030321163239.GB56375>