From owner-freebsd-current@FreeBSD.ORG Wed Nov 18 12:28:43 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 5AB2F106568F for ; Wed, 18 Nov 2009 12:28:43 +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 F139D8FC14 for ; Wed, 18 Nov 2009 12:28:42 +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 nAICSeLw072054 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 18 Nov 2009 12:28:40 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: <19e9a5dc0911171944q5d15dc96t83ecd53befb07621@mail.gmail.com> Date: Wed, 18 Nov 2009 07:28:40 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <0EB6E028-BA0A-48F1-AE7B-9F5E0A97B432@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> <19e9a5dc0911171944q5d15dc96t83ecd53befb07621@mail.gmail.com> To: Gonzalo Nemmi 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 12:28:43 -0000 On Nov 17, 2009, at 10:44 PM, Gonzalo Nemmi wrote: > On Tue, Nov 17, 2009 at 10:59 PM, Ben Kelly = wrote: >=20 >>=20 >> 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 >>>=20 >>> 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 >> - Ben_______________________________________________ >=20 >=20 > So, basically .. not only man make.conf and the handbook examples are = wrong > .. WITHOUT_MODULES doesn't actually work :s >=20 > Thanks a lot for your research, testing, PR and patches Ben ! > Please, should you be able to, I would like to know the PR number so I = can > follow it. > Hope your patch makes it in and WITHOUT_MODULES works as expected :) No problem. Just to clarify, though. The content of man make.conf looks correct to = me and the variable did work if you put it in /etc/make.conf. The only = issues I saw were the example in the handbook and the failure of = makeoptions in the kernel config file. I do think you could get a number of the modules in your original list = excluded if you specified them differently: WITHOUT_MODULES=3Dfirewire bwi bce bfe iwi iwn zfs Basically remove the dev/ prefix you have on some of them. Hope that helps. - Ben=