summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
Commit message (Collapse)AuthorAgeFilesLines
* The .Nm utilitycharnier2002-07-141-8/+12
|
* Moved the setting of all profiling-related variables except the key onebde2002-07-132-12/+8
| | | | | | | | (PROFLEVEL) to kern.pre.mk so that it is easier to manage. Bumped config version to match. Moved the check for cputype being configured to a less bogus place in mkmakefile.c.
* We don't need to hit the user over the head so strong now that we'veobrien2002-07-061-1/+0
| | | | | | fixed all the known warnings suffiently to not require NO_WERROR. Ok'ed by: peter
* Clean up hex() and octal() to return and work with unsigned integers sincejmallett2002-06-211-8/+8
| | | | | they scan values of unsigned types, and since they do not need otherwise, have them take const char * arguments.
* Consistancy check: s/file system/filesystem/gtrhodes2002-05-161-2/+2
|
* Add a hint about -DNO_WERRORpeter2002-02-251-0/+1
|
* Commit some infrastructure for turning on -Werror for kernel compiles.peter2002-02-203-4/+13
| | | | | | It doesn't actually do it yet though. This adds a flag to config so that we can exclude certain vendor files from this even when the rest of the kernel has it on. make -DNO_WERROR would also bypass all of it.
* Bump configvers for different handling of maxusers.peter2001-12-141-1/+1
|
* Allow maxusers to be specified as 0 in the kernel config, which willdillon2001-12-091-2/+1
| | | | | | | cause the system to auto-size to between 32 and 512 depending on the amount of memory. MFC after: 1 week
* mdoc(7) police:ru2001-10-261-38/+49
| | | | | | - Bump document date. - Remove hard sentence breaks. - Fix markup.
* Use includes to get prototypes for hints and env arrays.peter2001-09-171-0/+8
| | | | Submitted by: bde
* Enable hardwiring of things like tunables from embedded enironmentspeter2001-08-275-14/+61
| | | | that do not start from loader(8).
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-2/+6
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-202-3/+6
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-4/+4
|
* Put on my peril-sensitive sunglasses and remove the POLA-violatingpeter2001-07-141-0/+7
| | | | | | | stealth hints loading. 'make release' has been fixed to not need this now anyway. If you want static hints, specify it explicitly. Hey! Why did it suddenly get so dark??
* Remove the old machine symlink first.peter2001-07-141-3/+2
|
* Introduce an "include" directive. It takes one argument, a filenamedd2001-07-124-8/+102
| | | | | | | | | | | | | | to be included into this one. This works the same way as #include does in C; as far as the user is concerned, the included file is inlined into the current one. Since config(8) is no longer limited to working on one user-supplied file, printing just a line number in an error message is not sufficient. The new global variable yyfile represents the file currently being parsed, and must be printed as well. Reviewed by: imp Obtained from: OpenBSD
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Bring FILES section up to date.imp2001-07-041-12/+10
| | | | submitted by: Mark Peek <mark-ml@whistle.com>
* Bump config version in config.imp2001-07-021-2/+2
|
* Move kernel compile directory from sys/compile/FOO toimp2001-06-302-4/+3
| | | | | | sys/compile/${MACHINE}/FOO. Reviewed by: obrien, peter and the USENIX terminal room secret kernel cabal
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* newbus_ioconf() is long gonepeter2001-02-281-1/+0
|
* Some more tidying up. we dont use config-dependent anyware. Eliminatepeter2001-02-282-22/+8
| | | | some duplicate code (cut/paste bug?). tidy up some other minor stuff.
* s/special/compilewith/ (so I stop confusing myself) and GC an unusedpeter2001-02-282-27/+12
| | | | function I missed before.
* Untangle some special magic that happened for conflicting defintions forpeter2001-02-282-24/+0
| | | | local files.* and options.* files on the third pass.
* Remove some more dead code. :-/peter2001-02-281-10/+4
|
* GC some leftover stuff (device-driver suffix)peter2001-02-281-7/+0
|
* Move the 'dont forget "make depend"' to be the last thing that people see,peter2001-02-232-2/+1
| | | | after the warnings.
* Futher cleanups. Since we have two options lists, one for proper optionspeter2001-02-221-18/+9
| | | | | | and one for Makefile options, pass in the list head and use a common newopt() routine. Fix the 'config vmunix' support glue which was broken for a few minutes.
* Collect together a handful of copies of the option generator code into apeter2001-02-223-60/+33
| | | | | single newopt(char *name, char *value) function. Change newdev() to do the same thing rather than depending on the evil 'cur' device hack.
* ${BDECFLAGS} work. And fix a real error in the process. A "MAXUSERS"peter2001-02-197-21/+21
| | | | | string could have been passed to free(); There are some warnings here I am not sure how to fix as they are in the lex scanner code, etc.
* Devices are NOT compiled with the "special c2 option -i"..peter2001-02-181-3/+0
|
* Remove the need to list each and every cpu platform. Config will nowpeter2001-02-044-55/+10
| | | | take your word for the 'machine' switch.
* Try and make it clearer that the static units thing is a FYI only.peter2001-01-311-1/+1
|
* Unwind a bit more cruft - we only have one type of device now.peter2001-01-314-14/+6
|
* Oops. An old version of a local change leaked in with the last commit.peter2001-01-311-22/+9
| | | | Since it is here, clean it up a bit.
* Redo the stray header file cleanup code to not depend on timestampspeter2001-01-314-28/+54
| | | | | or access times or anything. Just bite the bullet and keep a list of header files that we know about.
* AARGH! This does not mix too well with the -o noatime mount option.peter2001-01-291-1/+6
| | | | :-(
* I confess. This is a truely nasty hack. I am so ashamed!peter2001-01-291-0/+57
| | | | | | | | (I think config(8) source does bad things to your brain :-) Clean up likely stray *.h files in the build directory. Eg: if isa.h ceases being generated, zap it. The heuristics to figure out a 'likely' file are pretty revolting.
* Add support for configuring PowerPC kernels.benno2001-01-224-0/+6
| | | | Reviewed by: peter
* Clean up some obsolete stuff. config -r has not been needed since aroundpeter2001-01-225-43/+12
| | | | | | FreeBSD 3.x or so when the 'make depend' picked up the opt_foo.h files. Convert warnings into actual errors in the hope that buildkernel users will pay more attention. :-(
* Stop turning 'mandatory' into an implicit 'count' line. i386/npx was thepeter2001-01-191-1/+0
| | | | only consumer of this and it is no longer needed.
* Implement option strings that we can use in #ifdefs (where unavoidable)peter2001-01-193-2/+27
| | | | | | | | as a replacement for the evil #define NFOO. If 'device npx' is in the static kernel, a synthetic option '#define DEV_NPX 1' will be available to stick in an opt_xxx.h file. "#if NNPX > 0" can be replaced with "#ifdef DEV_NPX" and we can get rid of the overloaded meaning of the device count mechanism.
* Try and stop config(8) from freaking out due to unnecessary paranoiapeter2001-01-041-13/+2
| | | | | | | when using -d. Use realpath(3) to locate the top of the tree rather than trying to manually trim back the results of a getcwd(). Requested by: alfred
* .Nm Config -> .Nm, there is no such program "Config" in FreeBSD.ben2000-12-111-4/+4
| | | | | PR: 23404 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* Make the xxxFILES= list generation generic. This makes it easier to addpeter2000-11-252-63/+19
| | | | things like MFILES= or CONFFILES= without having to modify config code.
* Fix buffer overflows in filenames. If you had a path > 80 charactersimp2000-11-214-28/+31
| | | | | | | | | | for your /usr/obj/path/to/my/files path to the kernel, then weird things happened. make buildkernel would fail because config was dumping core or generating bad file names (depending on the lenght of the path). While I was here, also use strlcpy, strlcat and snprintf (or asprintf) as necessary. Minor format policing for the snprintf calls as well.
OpenPOWER on IntegriCloud