From owner-freebsd-questions@FreeBSD.ORG Sat Nov 26 11:18:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07AEF106566C for ; Sat, 26 Nov 2011 11:18:44 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8E6888FC13 for ; Sat, 26 Nov 2011 11:18:42 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so7059679bkb.13 for ; Sat, 26 Nov 2011 03:18:41 -0800 (PST) Received: by 10.205.135.133 with SMTP id ig5mr11139740bkc.84.1322306320528; Sat, 26 Nov 2011 03:18:40 -0800 (PST) Received: from dfleuriot.local (did75-17-88-165-130-96.fbx.proxad.net. [88.165.130.96]) by mx.google.com with ESMTPS id z15sm21327823bkv.4.2011.11.26.03.18.38 (version=SSLv3 cipher=OTHER); Sat, 26 Nov 2011 03:18:39 -0800 (PST) Message-ID: <4ED0CB0D.80302@my.gd> Date: Sat, 26 Nov 2011 12:18:37 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Terrence Koeman References: <1189788ce6617f49a330c1605d186f01@mediamonks.net> In-Reply-To: <1189788ce6617f49a330c1605d186f01@mediamonks.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@FreeBSD.org" Subject: Re: buildkernel not honoring WITH_MODULES from make.conf ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 11:18:44 -0000 On 11/25/11 7:43 PM, Terrence Koeman wrote: > On Fri, 25 Nov 2011 at 19:27:54, Damien Fleuriot wrote: > >> On 11/24/11 4:17 PM, b. f. wrote: >>> >>> If you are going to build most of the modules, but only want to exclude >>> a few, then add the directories of the modules to be excluded (relative >>> to /usr/src/sys/modules) to WITHOUT_MODULES, for example in >>> /etc/make.conf. If you are only going to build a few modules, and want >>> to exclude the majority of the modules, then add the directories of the >>> modules that are to be built to MODULES_OVERRIDE. For no modules at >>> all, set NO_MODULES. See /usr/src/sys/modules/Makefile and >>> /usr/src/sys/conf/kern.post.mk for details. You may also save some time >>> by using one of your faster machines to build the OS for the slower >>> machines. >>> >>> b. >> >> Have I misunderstood WITH_MODULES' use ? > > The answer is in the post you quoted: use MODULES_OVERRIDE. > Meh, I was so sure I was supposed to use "WITH_MODULES" in opposition with "WITHOUT_MODULES" that I totally overlooked "MODULES_OVERRIDE". Ty, that's going to solve my problem.