Page MenuHomeFreeBSD

src.sys.mk: Support src.conf in SRCTOP
ClosedPublic

Authored by des on Sep 10 2025, 1:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 31, 8:31 AM
Unknown Object (File)
Tue, Oct 21, 11:16 PM
Unknown Object (File)
Fri, Oct 17, 1:29 AM
Unknown Object (File)
Wed, Oct 15, 10:33 PM
Unknown Object (File)
Oct 11 2025, 3:01 AM
Unknown Object (File)
Oct 11 2025, 3:01 AM
Unknown Object (File)
Oct 10 2025, 8:22 PM
Unknown Object (File)
Oct 10 2025, 8:22 PM

Details

Summary

If SRCCONF is not defined and src.conf exists at the top level of the
source tree, use that instead of /etc/src.conf.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Sep 10 2025, 1:13 PM

I think this is a good idea

+1

Can we preemptively add /src.conf to .gitignore if we do this?

Also agreed with kevans: please add /src.conf to .gitignore

This revision is now accepted and ready to land.Sep 10 2025, 2:49 PM
share/mk/src.sys.mk
2

Presumably also want to update the kern.pre.mk version.

This revision now requires review to proceed.Sep 10 2025, 3:48 PM
des marked an inline comment as done.Sep 10 2025, 3:51 PM
This revision is now accepted and ready to land.Sep 10 2025, 4:48 PM
This revision was automatically updated to reflect the committed changes.