summaryrefslogtreecommitdiff
path: root/usr.bin/config
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2022-04-04fix various typos, mainly in comments.andvar
2021-10-12PR/56453: Wataru Ashihara: config(1): Assertion fails in config -Lchristos
Only compare pointers when one is found.
2021-10-04remove duplicate the article in documentation.andvar
2021-09-11Add missing double p and d for stopped and overriden accordingly.andvar
Fix few more typos along the way, mainly in copy-pasted comments.
2021-09-10usr.bin: remove unnecessary lint comment CONSTCONDrillig
Since 2021-01-31, lint no longer warns about 'do ... while (0)'. No functional change.
2021-08-25config: remove unused local variablerillig
2021-08-02fix various typos in comments and log messages.andvar
2021-07-24Fix all remaining typos, mainly in comments but also in few definitions and ↵andvar
log messages, reported by me in PR kern/54889. Also fixed some additional typos in comments, found on review of same files or typos.
2021-04-13ensure that pointer is filled in when used upon return.mrg
2020-09-29s/implicitely/implicitly/msaitoh
2020-08-01Minor formatting tweaks.uwe
2020-07-31Swtich from -ohang to -tag lists.uwe
-ohang lists are hard to read b/c long config directives are almost impossible to tell from the following text. Occasional multi-paragraph descriptions were quite confusing too.
2020-07-31Missed formatting fixes for "no makeoptions".uwe
2020-07-31The tale of two makeoptions.uwe
There are two forms that were both documented in the selections section, but the form with the condition (and only that form) can be used only in the descriptions section. Move it to the appropriate .Ss and add prominent notice to both.
2020-07-31Formatting improvements.uwe
2020-07-31Minor tweak to list formatting.uwe
Where necessary, use .Bl -ohang -compact and explicit .Pp to be able to group multiple config directives (separate .It) by omitting .Pp between them. While here, add a .|" comment before .It to make them more visible when editing.
2020-07-31Formatting improvements.uwe
Only comb through the first few pages (OBJECTS AND NAMES) for now. Use .Em for emphasis, not .Ar (both look the same in text output, but .Ar is very confusing in PostScript). Reduce emphasis - don't highlight every usage of a term. Where everything is emphasized nothing is. Fix PS formatting of locator syntax examples so that square brackets are literal and don't look meta-syntactic. Explicitly show optional locator syntax (in literal square brackets).
2020-07-26Add debug output for ENDDEFS.uwe
This makes it more clear in the debug output where config switched from definitions to selections.
2020-07-26Don't print the location of the include directive twice.uwe
cfgdbg() already prints the current file and line number, so don't print the same information ourselves in the message too.
2020-04-03Avoid depending on common symbols.joerg
2020-03-09Add an enabled bit to keep track of the parent state (if we are ignoringchristos
or parsing). Idea from uwe.
2020-03-08Add debugging, no functional change.christos
2020-03-08Recognize {if{,n}def,elfif{,n}def,else,endif} only at the beginning of thechristos
line or after whitespace.
2020-03-07PR/55057: Paul Goyette: Don't use % 6 arithmetic that hurts the brain forchristos
the ifdef state machine, use bits and shifts instead. Also don't forget to restore the state once an include file ends.
2020-03-07Keep track where more objects are declared so that we can print where thingschristos
have been redefined.
2020-03-05genric -> genericwiz
2020-02-07usr.bin/config: Suppress -Werror=stringop-truncation error.fox
Add GCC_NO_STRINGOP_TRUNCATION to scan.c to prevent build failure. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. gcc version 8.3.0 Reviewed by: kamil@
2019-10-13introduce some common variables for use in GCC warning disables:mrg
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
2018-12-24yydebug is now defined only if YYDEBUG ischristos
2018-08-27Bump config(5) version for OPT.foo.c variables.riastradh
2018-08-27Tag each .c file with the options that might have brought it in.riastradh
2018-04-09Keep previous location of device definitions so we can print them in errorchristos
messages.
2017-11-28- make the level computation consistentchristos
- keep going only if things changed.
2017-11-27use a reference count to avoid deleting psrefs still in use.christos
2017-11-24- Instead of checking the recursion level before we recurse, check in onchristos
function entry. - Always decrement the level and reset levelparent on exit.
2017-11-24Tidy up error messages, line wraps, initialization. NFC.christos
2017-11-19Don't print instances we've already printed.christos
2017-11-19Remove a stray left over debug printf that crashes the builds (ab==NULL).kre
2017-11-18Allow multiple attachments methods to the same child+parent combination:christos
foo* at bar? with baz foo* at bar? with barf Do this by scanning the list of iba's and allocating a new cfparent for each. Keep track of the shared parent+child combinations by using the same id for them.
2017-11-18- Factor out the remove_pspec code into a function.christos
- Avoid NULL pointer when printing an error.
2017-11-18add more debugging, no functional change.christos
2017-11-18avoid creating infinite loops.christos
2017-11-16When deleting orphans detect parent<->child loops and break them.christos
"active" is not a boolean, use the right comparison.
2017-07-03Remove workaround for ancient HTML generation code.wiz
2017-06-16un-c99christos
2017-06-16Bump for quoting makeoptions with multiple lines.christos
2017-06-15Allow multiline makeoptions to work by quoting the newline..christos
2016-09-13define the attribute first.christos
2016-09-09Make attribute deselection work:christos
- when deselecting attributes, remove files that depend on them - when deselecting attributes, remove devices that depend on them