svn commit: r288911 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Thu Oct 8 01:39:05 UTC 2015


On 10/6/2015 1:24 PM, Warner Losh wrote:
>> With the META_MODE changes, sjg introduced this /etc/src-env.conf file
>> that is included from sys.mk early, that can be used for overriding
>> things like MAKEOBJDIRPREFIX, enabling META_MODE (it needs to be set
>> extremely early for AUTO_OBJ support, among other things).
>>
>> As far as I can tell, the sys.mk change to include src.conf early was
>> done out of convenience.  Meaning, we could remove that and just add
>> back a .include <src.init.mk> or similar at the top of all src Makefiles.
> All src makefiles? Yea, I’d rather hoped to avoid that, though it is easily
> scripted. I’d thought of this solution at the time I did the MAKESYSPATH
> hack, and rejected it as being too unwieldy. And having that at the top
> of all the files would still require MAKESYSPATH need to be …/share/mk
> to work out. I was rather hoping we could find some good way around
> doing that.

r289000 confuses me. Clearly src.opts.mk is still needed in Makefiles.
So why are we including src.conf in sys.mk and not src.opts.mk?

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20151007/f2855639/attachment.bin>


More information about the svn-src-head mailing list