svn commit: r288911 - head/share/mk

Simon J. Gerraty sjg at juniper.net
Fri Oct 9 17:23:54 UTC 2015


I seem to be getting mails out of order...

Bryan Drewery <bdrewery at freebsd.org> wrote:
> >     So why are we including src.conf in sys.mk <http://sys.mk> and not
> >     src.opts.mk <http://src.opts.mk>?
> > 
> > We're including it there because Simon wanted it included there so
> > meta-mode settings were visible in sys.mk <http://sys.mk>. I thought it
> > lame at the
> > time, but had no better solution.

My recollection is a little vague... there are options that sys.mk needs
to be able to use (eg for auto.obj.mk - because .OBJDIR affects .PATH
computaion in many cases), but src.conf should be largely orthogonal

IIRC src.opts.mk cannot be included early due to it including
bsd.own.mk which cases lots of problems when included too early.

> Ah! So the /etc/src-env.conf thing I referenced does replace it. So we
> can remove src.conf from sys.mk now. It came in via r284598, and I
> documented it and added it to src.conf.5/makeman later on.

Yes src-env.conf allows for separate conf stuff that is needed early vs
late.



More information about the svn-src-all mailing list