Date: Tue, 17 Nov 2009 22:46:24 -0500 From: Ben Kelly <ben@wanderview.com> To: Doug Barton <dougb@FreeBSD.org> Cc: freebsd-current@FreeBSD.org Subject: Re: WITHOUT_MODULES, does it actually work? Message-ID: <568A6428-A2DD-49D4-B043-455273A7902E@wanderview.com> In-Reply-To: <4B036BD3.4020900@FreeBSD.org> References: <200911172021.16848.gnemmi@gmail.com> <41D86F39-D98A-4195-8345-765E0F742FAE@wanderview.com> <19e9a5dc0911171614l42f4c90ci2abce9982727ef61@mail.gmail.com> <4B033E22.3060700@FreeBSD.org> <8727F2A4-B830-43EE-BB9B-A17798374C00@wanderview.com> <4B034899.9090408@FreeBSD.org> <BB106D32-DF64-4086-801F-286050314200@wanderview.com> <4B036BD3.4020900@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 17, 2009, at 10:36 PM, Doug Barton wrote: > Ben Kelly wrote: >> On Nov 17, 2009, at 8:06 PM, Doug Barton wrote: >>=20 >>> Ben Kelly wrote: >>>> It seems there are some left over bits then. I have this in = /usr/src/sys/modules/Makefile: >>>>=20 >>>> .for reject in ${WITHOUT_MODULES} >>>> SUBDIR:=3D ${SUBDIR:N${reject}} >>>> .endfor >>> Well it seems my search was not exhaustive. >>>=20 >>> My recommendation then would be to file a src PR so that someone can >>> look into it. :) >>=20 >> I've opened a doc PR for the bad example in the handbook and a conf = PR for the patch to make WITHOUT_MODULES work from the kernel config = file using makeoptions. I haven't gotten PR numbers back from the = system yet. >=20 > You can add to the mix the fact that options like modules_override and > without_modules are documented in make.conf(5) instead of in > src.conf(5) which is where (arguably) they should be. =46rom the log for r88893 of /usr/src/sys/conf/kern.pre.mk I think its = intended that the module variables are related to ports in some way: Move initialization of the MKMODULESENV envorinoment to kern.pre.mk from kern.post.mk so port makefiles can augment it. So I'm guessing make.conf might be the right place. In any case, here are the PRs I opened: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D140649 http://www.freebsd.org/cgi/query-pr.cgi?pr=3D140650 Thanks. - Ben=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?568A6428-A2DD-49D4-B043-455273A7902E>