Page MenuHomeFreeBSD

config: drop dependency on libnv
ClosedPublic

Authored by kevans on Jan 30 2023, 3:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 19, 11:37 AM
Unknown Object (File)
Mon, May 4, 9:36 AM
Unknown Object (File)
Sun, May 3, 10:14 PM
Unknown Object (File)
Sun, May 3, 7:07 AM
Unknown Object (File)
Tue, Apr 28, 9:17 AM
Unknown Object (File)
Mon, Apr 27, 10:48 PM
Unknown Object (File)
Mon, Apr 27, 6:42 PM
Unknown Object (File)
Apr 21 2026, 5:28 AM
Subscribers

Details

Summary

Compile mkmakefile.c as C++ instead and use an std::unordered_map to
accomplish the same goal.

Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.

Diff Detail

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

Event Timeline

kevans created this revision.

My C++ fu is weak these days... but such as it is, I see no issues and think this is a great leap sideways...
Since config doesn't have to run on the TARGET system until it's self hosting, and since we need C++ for that anyway
and since we can run config on a host with C++ fully realized, this shouldn't affect early bring up of new targets.

tools/build/depend-cleanup.sh
121

<3 this

This revision is now accepted and ready to land.Jan 30 2023, 4:44 PM
tools/build/depend-cleanup.sh
121

usr.sbin