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)
Thu, Nov 27, 5:46 AM
Unknown Object (File)
Thu, Nov 20, 2:45 AM
Unknown Object (File)
Tue, Nov 11, 5:14 PM
Unknown Object (File)
Tue, Nov 11, 5:14 PM
Unknown Object (File)
Tue, Nov 11, 5:14 PM
Unknown Object (File)
Tue, Nov 11, 1:31 PM
Unknown Object (File)
Oct 30 2025, 12:32 AM
Unknown Object (File)
Oct 18 2025, 11:05 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