Teach the code which generates src.conf.5 about __REQUIRED_OPTIONS;
without this change it gets confused and thinks that every option
turns the required options on.
Details
Details
- Reviewers
gbe sjg imp - Commits
- rGbce996791511: options/makeman: Handle __REQUIRED_OPTIONS
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 52131 Build 49022: arc lint + arc unit
Event Timeline
tools/build/options/makeman | ||
---|---|---|
127 | it might be safer to to use -V '${__REQUIRED_OPTIONS:ts,}' to get requireds and then case ",${requireds}," in *,${opt},*) |
tools/build/options/makeman | ||
---|---|---|
127 | Thanks! I was trying to figure out how to do that, but I didn't realize make supported substitutions in -V arguments. |