summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
Commit message (Collapse)AuthorAgeFilesLines
* since nocpu isn't used in the kernel config base, we don't need toimp2005-11-041-1/+1
| | | | | bump the version. Peter Wemm, John Baldwin and I hammered this out after the last time I needlessly incremented the version.
* Use the eq() macro for comparing strings (style), and remove a "break"ru2005-11-031-5/+4
| | | | statement to null the effect of several identical "cpu" directives.
* By a popular demand, add "nomakeoptions" as an alias to "nomakeoption".ru2005-11-031-0/+1
|
* Implement the "nocpu" directive.ru2005-11-033-1/+14
| | | | Requested by: rwatson
* Bump config(8) version for the DEFAULTS change.jhb2005-10-271-1/+1
|
* Optionally include a DEFAULTS config file if it is present in the currentjhb2005-10-273-3/+27
| | | | | | | | | | | | | directory before the specified config file. This is implemented by opening DEFAULTS as stdin if it exists, and if so resetting stdin to the actual config file when DEFAULTS is fully parsed via yywrap(). In short, this lets us create DEFAULTS kernel configs in /sys/<arch>/conf that can enable certain options or devices by default and allow users to disable them via 'nooptions' or 'nodevice' rather than having to create kludge NO_FOO options. Requested by: scottl Reviewed by: scottl
* Put rev. 1.65 into usage().obrien2005-08-111-1/+1
|
* Add an option to tell what version of config(8) this is.obrien2005-08-102-2/+10
|
* Ask that "make cleandepend" be run before "make depend", now thatru2005-04-221-1/+1
| | | | | | we don't do this automatically. Suggested by: bde
* Allow one to specify a second parameter to the machine line. Thisimp2005-04-014-3/+28
| | | | | | | | | | | allows us to specify the machine_arch as well as machine. If specified then a second link will be made, similar to machine, from $MACHINE_ARCH to $S/$MACHINE_ARCH/include. This is for ports where MACHINE != MACHINE_ARCH (pc98 today, others in the future?). Reviewed by: arch@, nyan@
* style(9) nitsimp2005-03-301-2/+3
|
* Unstaticize config. It was being optimized away.des2005-03-271-1/+1
| | | | MFC after: 3 days
* Bump the version number for the addition of devices / nodevices.des2005-02-101-1/+1
|
* Fully document (no)?(device|option)s?.des2005-02-101-17/+23
| | | | This page should probably be repocopied to src/usr.sbin/config/.
* "device" and "nodevice" lines can actually specify more than one devicedes2005-02-101-0/+2
| | | | | | (separated by commas), so add "devices" and "nodevices" as aliases. MFC after: 2 weeks
* Sort sections.ru2005-01-181-2/+2
|
* The ioconf.c is no longer generated.ru2004-12-161-4/+1
| | | | Submitted by: Craig Rodrigues
* Allow multiple devices to be specified on one device / nodevice line.des2004-10-241-7/+27
| | | | | | Also allow "device" / "nodevice" to be spelled "devices" / "nodevices". MFC after: 2 weeks
* If the file specified in an "include" line does not exist in the currentdes2004-10-241-1/+9
| | | | | | | | directory, and its name does not begin with a period or a forward slash, go look for it in ../../conf. Wished for by: scottl MFC after: 2 weeks
* We accept both "option" and "options" so also accept both "nooption"phk2004-10-121-0/+1
| | | | and "nooptions".
* Kill count device support from config. I've changed the last fewpeter2004-08-306-205/+12
| | | | | | | | | | | | | | | | | remaining consumers to have the count passed as an option. This is i4b, pc98/wdc, and coda. Bump configvers.h from 500013 to 600000. Remove heuristics that tried to parse "device ed5" as 5 units of the ed device. This broke things like the snd_emu10k1 device, which required quotes to make it parse right. The no-longer-needed quotes have been removed from NOTES, GENERIC etc. eg, I've removed the quotes from: device snd_maestro device "snd_maestro3" device snd_mss I believe everything will still compile and work after this.
* Per letter dated July 22, 1999, delete clause 3 from code directlyimp2004-08-077-28/+0
| | | | from Berkeley.
* Static device counts will not be supported in 6.x so place the generatedbrooks2004-06-301-0/+2
| | | | | | macros (N<driver>) under BURN_BRIDGES. Discussed with: peter, imp, scottl, ...
* Assorted markup, spelling, and grammar fixes.ru2004-06-161-2/+3
|
* Document the "files" directive.cognet2004-05-131-0/+4
| | | | Reminded by: jmg
* Fix a few glitches in my previous commit.cognet2004-05-112-3/+2
| | | | This makes config(8) WARNS?=6 compliant.
* Add a new "files" directive, which allows to include a files.foo file directlycognet2004-05-096-28/+62
| | | | | from a kernel config file. Bump config version to reflect this change.
* Whitespace nit.des2004-02-171-1/+1
|
* Fixed spurious syntax errors for including files that don't begin withbde2003-11-141-3/+4
| | | | | | | | | | a SEMICOLON token (a newline or semicolon, or one of these preceded by a comment and/or whitespace). The input stream was switched too early and the parser was expecting a SEMICOLON in the included file instead of after the filename in the include directive. Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Kept alive by: Adam C. Migus <adam@migus.org>
* Add a reference to config(5) in the SEE ALSO section.simon2003-08-061-0/+2
| | | | | Suggested by: dcs Approved by: ceri (mentor)
* Eliminate non-existent word.jkoshy2003-07-131-1/+1
| | | | Submitted by: jwd
* "towards" -> "toward". According to dictionary.com, the use of "towards"jkoshy2003-07-081-2/+2
| | | | | | | | | | is common in British English, while "toward" is the preferred form in American English. Use the American form for consistency. Correct the date on the manual page. Submitted by: Tom Rhodes <trhodes@freebsd.org>, underway@comcast.net (Gary W. Swearingen)
* Disallow multiple 'machine' directives in a kernel configurationjkoshy2003-07-061-0/+3
| | | | | | file. Reviewed by: ru, bde
* New section 5 manual page detailing our kernel configuration filejkoshy2003-07-061-0/+343
| | | | | | | format. Reviewed by: Ruslan Ermilov <ru@freebsd.org>, Jens Schweikhardt <schweikh@schweikhardt.net>
* Not particularly pretty hack to generate rules to make .ln filesmarkm2003-06-161-2/+10
| | | | | | | from .c files. Actually, this is overkill, as the .ln file targets are assumed from .? (any) files. This is not a problem in practice, merely a bit untidy, as the linting rules DTRT. See the sys/conf/* and sys/mk/* files for usage.
* Check the return values of opendir() and unlink() in cleanheaders().tmm2003-06-121-2/+4
| | | | If unlink() fails, just print a warning for now.
* Best we can do is WARNS=1 due to lex.obrien2003-06-111-0/+1
|
* Do not refer to the non-existant BDECFLAGS.obrien2003-06-111-1/+0
|
* Don't convert the kernel ident to uppercase when writing the Makefile.des2003-04-241-1/+1
|
* Grammar fixbrueffer2003-04-201-1/+1
| | | | | | PR: 51164 Submitted by: Jeff Ito <jeffi@rcn.com> MFC after: 3 days
* Bump the config version to force people to upgrade their config(8)phk2003-04-151-1/+1
| | | | | so the fix for emitting multiple instances of .o files will prevent link errors on LINT.
* Avoid emitting duplicate makefile entries.phk2003-04-121-1/+4
|
* Print FYI messages on stderr. Previously, they were printed on stdout,des2003-03-091-1/+3
| | | | | | | | | and due to buffering they would sometimes come out after the actual error message when mkheaders() failed due to an unknown device, so you'd get an error messages followed by 20 or 30 lines of harmless warnings. There are lots of other warning messages in config(8) that are printed on stdout, but these were the most egregious (at least with LINT).
* Implemented "nooption" and "nomakeoption" config(8) tokens.ru2003-02-262-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | Fixed memory leak in the "nodevice" option implementation. Use these instead of sed(1) in MD NOTES. Use a single makefile (sys/conf/makeLINT.mk) to generate LINT for all architectures. (Previous versions missed the LINT dependency on Makefile, and i386 version also missed the dependency on ${NOTES}.) Fixed bugs in the previous NOTES conversion using the "nodevice" token and sed(1): - i386 LINT lost "device pst". - pc98 LINT lost SC_*, MAXCONS and KBD_DISABLE_KEYMAP_LOAD options, and got needless DPT_* options. - Added nooptions PPC_DEBUG, PPC_PROBE_CHIPSET, KBD_INSTALL_CDEV to sparc64 LINT so that it has a chance to config(8). This basically returns us to where we were before.
* Allow for boolean make options (``makeoptions NO_MODULES'').ru2003-02-211-1/+4
| | | | Fixed the potential bug in rmopt().
* Bring the suggested command for extracting a configuration file from theceri2003-02-181-1/+1
| | | | | | | | kernel into line with that suggested in LINT. PR: bin/48157 Submitted by: naddy MFC After: 4.8
* Implemented a simple "nodevice" config(8) command that cancelsru2003-02-152-1/+49
| | | | | | | the effect of the "device" command, and use it to generate the OLDCARD from GENERIC. Suggested by: bde
* Convert to using <sys/queue.h> macros.ru2003-02-156-85/+76
|
* Remove this Makefile, these docs are built by the Makefiles in ↵trhodes2003-02-011-11/+0
| | | | src/share/doc/smm.
* Uniformly refer to a file system as "file system".ru2002-12-121-2/+2
| | | | Approved by: re
OpenPOWER on IntegriCloud