From owner-freebsd-current@FreeBSD.ORG Wed Nov 18 03:46:32 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6DEF106566B; Wed, 18 Nov 2009 03:46:32 +0000 (UTC) (envelope-from ben@wanderview.com) Received: from mail.wanderview.com (mail.wanderview.com [66.92.166.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5058FC0A; Wed, 18 Nov 2009 03:46:31 +0000 (UTC) Received: from xykon.in.wanderview.com (xykon.in.wanderview.com [10.76.10.152]) (authenticated bits=0) by mail.wanderview.com (8.14.3/8.14.3) with ESMTP id nAI3kOSo065128 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 18 Nov 2009 03:46:24 GMT (envelope-from ben@wanderview.com) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Ben Kelly In-Reply-To: <4B036BD3.4020900@FreeBSD.org> Date: Tue, 17 Nov 2009 22:46:24 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <568A6428-A2DD-49D4-B043-455273A7902E@wanderview.com> 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> <4B036BD3.4020900@FreeBSD.org> To: Doug Barton X-Mailer: Apple Mail (2.1077) X-Spam-Score: -1.44 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.67 on 10.76.20.1 Cc: freebsd-current@FreeBSD.org Subject: Re: WITHOUT_MODULES, does it actually work? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 03:46:32 -0000 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=