Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Mar 2001 20:54:54 -0700
From:      Warner Losh <imp@village.org>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>, arch@FreeBSD.ORG, kris@obsecurity.org (Kris Kennaway)
Subject:   Re: Breaking up make.conf 
Message-ID:  <200103090354.f293sss04615@billy-club.village.org>
In-Reply-To: Your message of "Thu, 08 Mar 2001 19:37:09 PST." <XFMail.010308193709.jhb@FreeBSD.org> 
References:  <XFMail.010308193709.jhb@FreeBSD.org>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.010308193709.jhb@FreeBSD.org> John Baldwin writes:
: What if I want to use /etc/release.conf for clean release builds and
: /etc/currentworld.conf for current, etc.?  If it's a tweakable variable name in
: /etc/make.conf (or overridable on the command line to make buildworld of
: course) then the ../Makefile.inc hack will allow me to stick this file anywhere
: with any name, rather than forcing it to be in the path of the source tree.

That's why I like the idea of having a etc/make.conf in the tree and
have it use that file.  This file wouldn't be checked into CVS, but
would be the user's responsibility to add to the tree in some
fashion.  Given the patches I posted, they have the nice property that
if the user fails to do this, /etc/make.conf is picked up instead.

That would allow you to easily manage these things.  It would also
allow you to have multiple -current and stable trees checked out under
one root and use the same config file or different config files for
them without having to remember to set special variables.

As a side effect, we can reduce the name space polution problem that
we have with bsd.own.mk and bsd.cpu.mk being included from
/usr/share/mk/sys.mk.  They have bugged me (and others) for a long
time.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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