Page MenuHomeFreeBSD

makeman: extend duplicate option warning to OPT_ options
ClosedPublic

Authored by emaste on May 13 2024, 7:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 28, 11:28 PM
Unknown Object (File)
Wed, Sep 17, 9:50 AM
Unknown Object (File)
Sep 9 2025, 7:51 PM
Unknown Object (File)
Sep 7 2025, 5:10 AM
Unknown Object (File)
Sep 7 2025, 4:35 AM
Unknown Object (File)
Sep 5 2025, 4:33 AM
Unknown Object (File)
Aug 22 2025, 11:08 AM
Unknown Object (File)
Aug 20 2025, 10:04 AM
Subscribers

Details

Summary
In a local tree I accidentally had OPT_INIT_ALL defaulting to zero in
userland and none in kernel.  This resulted in the INIT_ALL text
appearing twice in src.conf.5.

Diff Detail

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

Event Timeline

emaste created this revision.

OPT_ are not handled per-target

In my local tree:

building src.conf.5 man page from files in /home/emaste/src/freebsd-git/wipbsd/tools/build/options
...........................make[1]: "/home/emaste/src/freebsd-git/wipbsd/share/mk/bsd.mkopt.mk" line 71: warning: WITHOUT_CASPER option ignored: it is no longer supported
make[1]: "/home/emaste/src/freebsd-git/wipbsd/share/mk/bsd.mkopt.mk" line 71: warning: WITHOUT_CASPER option ignored: it is no longer supported
................................................................................................................................................................................................................................
ignoring duplicate option INIT_ALL
This revision is now accepted and ready to land.May 16 2024, 5:27 PM