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, Apr 20, 6:40 PM
Unknown Object (File)
Sun, Apr 20, 2:30 AM
Unknown Object (File)
Mon, Apr 14, 11:15 PM
Unknown Object (File)
Sun, Apr 6, 7:40 PM
Unknown Object (File)
Fri, Mar 28, 5:05 AM
Unknown Object (File)
Mar 22 2025, 7:33 PM
Unknown Object (File)
Mar 20 2025, 4:00 PM
Unknown Object (File)
Feb 1 2025, 2:36 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