Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2016 15:40:56 -0700
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        Eric van Gyzen <vangyzen@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: make universe and /etc/src.conf
Message-ID:  <DF1C4C44-FDA8-4725-AFAB-77E68405C439@gmail.com>
In-Reply-To: <6285c444-5859-7143-957e-5a1cb38cf24a@FreeBSD.org>
References:  <ad2f7a3b-21c5-2e2a-2f1b-0625a70e05f7@FreeBSD.org> <BFAB5A33-F82D-4EE0-A89A-72645B85E975@gmail.com> <6285c444-5859-7143-957e-5a1cb38cf24a@FreeBSD.org>

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

[-- Attachment #1 --]

> On Aug 22, 2016, at 09:25, Eric van Gyzen <vangyzen@FreeBSD.org> wrote:
> 
> On 08/22/2016 11:00, Ngie Cooper wrote:
>> 
>>> On Aug 22, 2016, at 08:24, Eric van Gyzen <vangyzen@FreeBSD.org> 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:
>>> 
>>> KERNCONF=NUMA KERNCONFDIR=/etc
>> 
>> 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: https://github.com/yaneurabeya/scratch/blob/master/bayonetta/etc/src.conf-local#L39 — 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).

Cheers,
-Ngie

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJXu395AAoJEPWDqSZpMIYVEmwP/2UnoqEANR0e13GBR+TFpk9A
2D5trYmyLGg2Krd42gEYrG+F/B82ZmF8kWi8faHpYl4zNQT5mT3bmhYjOhEbcKIg
PGY7y1KYs2kD2RceuYtd7KVhwn88G6c1mLdrXN4agKUJFfto/289RSogh6EMHR9L
mRcbJQW0c1KnILurO8Pk55BJjTXfwisfS3uhHQ9lhino8WwG9dw8FwuglzKCKETH
+O2GAo1q4SaS0kYJu7i+M/kzcsmUQkMNKLBzW32wuVQt8ukUmSuoDnJZ67ATacQC
jhVT8YMwmWSdCUvgpz+kREsaXHLuUiRT3tqJftU9KeOvHSHmXUxMVfoiN28C53ZX
sFr+Qt3ekhIj8tfDpagufNGEpjneRr+/M7eqqrwjUHU8ArOqLreCC0SV99jD+0+w
aE14KCf3/eD/GNusHSYCFYzrBa9vFkgjqe3UVlyTJRXY89SX5OTVkTfViIoEBfMf
11UCos2V6LRc2NkpacSe1VTcgz05ceXtJWivY7lQ+BfdVignQtzN818k+FccEHDO
L/3e4mJAqYHmFXE9CuV8jh/tuqA0aGbsptGSEFYzC2rOAnK6rfs5EWMFRZGK4vtE
M5YP+StFz/N8JgOrn69z0OL8OymBgWMv0xwDJ7kWfwjCSpEnS7/419vb7sQgZB0F
bXIcR7CJRhTJETSpye35
=7p/L
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF1C4C44-FDA8-4725-AFAB-77E68405C439>