make universe and /etc/src.conf

Ngie Cooper (yaneurabeya) yaneurabeya at
Mon Aug 22 22:41:04 UTC 2016

> On Aug 22, 2016, at 09:25, Eric van Gyzen <vangyzen at> wrote:
> On 08/22/2016 11:00, Ngie Cooper wrote:
>>> On Aug 22, 2016, at 08:24, Eric van Gyzen <vangyzen at> wrote:
>>> I just tried a "make universe", and all the kernels failed because they
>>> couldn't find the config files.  I had forgotten that I have this in
>>> /etc/src.conf:
>> Alternatively, use KERNCONF?= and KERNCONFDIR?=..
>> A conditional will be needed to deal with MODULES_OVERRIDE, but it's
>> trivial.. I'll dig up my old src.conf a bit later on today if needed. It's
>> how I dealt with that caveat before I switched to GENERIC*.
> Thanks for the suggestion.  Moving these to /etc/make.conf seems easiest, so
> I'll just do that.

The problem with using make.conf is that it pollutes all uses of make, whereas src.conf just pollutes compilation of the source tree.

Here’s what I used: — I used some additional magic because of the reasons I mentioned in my previous email. Now, I just set KERNCONF= GENERIC GENERIC-NODEBUG (but I should use `?=` if I cared about running make universe on my VM on my laptop — heh).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the freebsd-current mailing list