Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2016 09:00:52 -0700
From:      Ngie Cooper <yaneurabeya@gmail.com>
To:        Eric van Gyzen <vangyzen@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: make universe and /etc/src.conf
Message-ID:  <BFAB5A33-F82D-4EE0-A89A-72645B85E975@gmail.com>
In-Reply-To: <ad2f7a3b-21c5-2e2a-2f1b-0625a70e05f7@FreeBSD.org>
References:  <ad2f7a3b-21c5-2e2a-2f1b-0625a70e05f7@FreeBSD.org>

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

> On Aug 22, 2016, at 08:24, Eric van Gyzen <vangyzen@FreeBSD.org> wrote:
>=20
> I just tried a "make universe", and all the kernels failed because they co=
uldn't
> find the config files.  I had forgotten that I have this in /etc/src.conf:=

>=20
>    KERNCONF=3DNUMA
>    KERNCONFDIR=3D/etc

Alternatively, use KERNCONF?=3D and KERNCONFDIR?=3D..

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 de=
alt with that caveat before I switched to GENERIC*.

> Since "make universe" is primarily used for build-testing changes in src,
> shouldn't it ignore /etc/src.conf (and possibly /etc/src-env.conf), like t=
he
> following?  Or is "make universe" used for other purposes for which it rea=
lly
> should read /etc/src*.conf?
>=20
> --- Makefile    (revision 304226)
> +++ Makefile    (working copy)
> @@ -479,6 +479,7 @@
> universe_${target}_${target_arch}: universe_${target}_prologue .MAKE .PHON=
Y
>    @echo ">> ${target}.${target_arch} ${UNIVERSE_TARGET} started on `LC_AL=
L=3DC date`"
>    @(cd ${.CURDIR} && env __MAKE_CONF=3D/dev/null \
> +        SRCCONF=3D/dev/null SRC_ENV_CONF=3D/dev/null \
>        ${SUB_MAKE} ${JFLAG} ${UNIVERSE_TARGET} \
>        TARGET=3D${target} \
>        TARGET_ARCH=3D${target_arch} \
>=20
> Thanks,
>=20
> Eric
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFAB5A33-F82D-4EE0-A89A-72645B85E975>