Page MenuHomeFreeBSD

bsdinstall generate opt_osname.h in osname
ClosedPublic

Authored by sjg on Dec 7 2023, 1:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 10, 2:09 PM
Unknown Object (File)
Wed, May 8, 7:45 PM
Unknown Object (File)
Wed, May 8, 7:45 PM
Unknown Object (File)
Wed, May 8, 1:23 PM
Unknown Object (File)
Wed, May 8, 1:17 PM
Unknown Object (File)
Wed, May 8, 1:16 PM
Unknown Object (File)
Sun, May 5, 11:57 AM
Unknown Object (File)
Fri, May 3, 5:01 PM
Subscribers

Details

Summary

This allows the subdirs that do more work to run in parallel

Diff Detail

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

Event Timeline

sjg requested review of this revision.Dec 7 2023, 1:19 AM

Rename osname to include

But git-arc cannot cope with that and does not seem to support
specifying the review id.

One nit, and I assume you've verified that opt_osname.h does now have the right contents?

Otherwise looks good thanks, though don't have the knowledge to review the Makefile.depend parts (beyond wondering why this seemingly-simple structure requires a manually written one).

This revision is now accepted and ready to land.Dec 7 2023, 2:17 AM

One nit, and I assume you've verified that opt_osname.h does now have the right contents?

Yes.

#define OSNAME "FreeBSD"

Otherwise looks good thanks, though don't have the knowledge to review the Makefile.depend parts (beyond wondering why this seemingly-simple structure requires a manually written one).

The reason is that in DIRDEPS_BUILD usr.sbin/bsdinstall itself does not actually do anything only leaf dirs are visited,
but it is handy to have a Makefile.depend there for doing test builds of this dir and its subdirs.

This revision was automatically updated to reflect the committed changes.