Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2011 12:18:37 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        Terrence Koeman <terrence@mediamonks.net>
Cc:        "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org>
Subject:   Re: buildkernel not honoring WITH_MODULES from make.conf ?
Message-ID:  <4ED0CB0D.80302@my.gd>
In-Reply-To: <1189788ce6617f49a330c1605d186f01@mediamonks.net>
References:  <1189788ce6617f49a330c1605d186f01@mediamonks.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED0CB0D.80302>