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
F168368251: D52470.id161851.diff
Thu, Aug 27, 7:42 PM
Unknown Object (File)
Sun, Aug 23, 8:48 AM
Unknown Object (File)
Fri, Aug 21, 7:14 PM
Unknown Object (File)
Fri, Aug 21, 6:26 PM
Unknown Object (File)
Thu, Aug 20, 6:19 AM
Unknown Object (File)
Wed, Aug 19, 12:38 AM
Unknown Object (File)
Wed, Aug 19, 12:05 AM
Unknown Object (File)
Sun, Aug 16, 11:08 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.