summaryrefslogtreecommitdiff
path: root/usr.sbin/config
AgeCommit message (Collapse)Author
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-09-17tedu lint tendrils through config internals.Marc Espie
also mark some known targets as .PHONY okay miod@
2012-06-22Improve error messages when removing/recreating symlinks in the build dirPhilip Guenthe
ok deraadt@
2011-10-02Fix some minor things in config(8):Edd Barrett
* As haesbaert suggests, correctly order include files. * Found some old style function defs. Updated. * Found a prototype inside a function. Moved. OK nicm@
2011-10-02When using `config -e`:Edd Barrett
* Don't print a NULL pointer if binary loaded is not a kernel. * Don't segfault of binary loaded is not a kernel. * Report non-existent kernel via a preliminary stat(). * Make a warning look like the rest. OK haesbaert@, nicm@
2011-07-16remove unused variableCharles Longeau
ok miod@ matthew@
2011-06-26remove mcd example here tooTed Unangst
2011-06-01Kill the nearly-15-years-dead cf_ivstubs field from struct cfdata.Matthew Dempsky
ok miod@, deraadt@ N.B.: If you're following -current, you MUST recompile config(8) and re-config your kernel or else ioconf.c will fail to compile.
2011-04-15stop talking about make depend; ok guentherTheo de Raadt
2011-04-15do not need the run "make depend" reminder anymoreTheo de Raadt
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2010-06-02fix potential use of uninitialized value, and remove unused variables.Charles Longeau
ok deraadt@
2010-05-31Do not add the swap*.c to the CFILES as a dependency. The rest of theTheo de Raadt
Makefile.* file copes with swap*.c the same as vers.c; it is also much nicer to keep the whole CFILES as far-reaching absolute or relative paths rather than relative to . ok miod
2010-05-24automatically generate the _arch= and _mach= lines at the top of the kernelTheo de Raadt
Makefile, since we already know them. (Later on, we can remove the chunks from the Makefile.* files...) ok kettenis
2009-12-10Now that the old SysV SHM size limits global variables are gone, removeMark Kettenis
support for setting them from config(8).
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-19Correct a target name so that we don't rebuild vers.o (and thenPhilip Guenthe
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
2009-06-03change "cachepct" to "bufcachepercent" so it is the sameBob Beck
as the variable and the similar sysctl ok deraadt@
2009-03-23correct example; from Sebastian RotherJason McIntyre
2009-01-19Do not forget to adjust offsets for the beginning of the data area for nonMiod Vallat
OMAGIC binaries. Found the hard way by jsg@
2008-11-22Make enable selected by attribute work.Mats O Jansson
Reported by John Lloyd j at bitminer dot ca. -moj
2008-10-03correct comment; a part of PR4184Theo de Raadt
2008-08-14simplify S definition to just srcdir, since it appears there's no specialMarc Espie
case anymore. Note that you can always override it from the command line if you need it. after discussion with deraadt@ and tedu@
2008-08-12basic bounds check on elf header info. avoid crashes on i.e.e truncatedOtto Moerbeek
kernels; noted by jasper@ ok miod@
2008-04-19remove build warnings:Charles Longeau
- unused variables - missing return ok espie@
2008-03-24Make it possible to disable/enable pseudo devices in UKC, config file andMats O Jansson
at config -e. -moj ok deraadt@
2008-03-23Done mark a disable of a disabled device as an change (and same with enable).Mats O Jansson
Reported by jj@ a long time ago. -moj
2008-03-22spaces found reading that diffTheo de Raadt
2008-03-22put in explicit suffix rules, they're needed anyways since $< is only usedMarc Espie
for suffix rules. Use them to avoid writing loads of explicit lines. Shaves 2/3 of each Makefile off. okay miod@, deraadt@, henning@
2008-03-08avoid request for input if lines are set to zeroSimon Bertrang
ok deraadt@, sthen@
2007-11-27add missing header for errx.Charles Longeau
ok otto@ deraadt@
2007-11-26Let multiple variables in the same filename expandTheo de Raadt
ok otto millert
2007-11-26Put the converted filename into the makefiles, so that we can later supportTheo de Raadt
variables make(1) does not natively convert in the same way.
2007-11-26discard still-born support for .o files in the "file" command..Theo de Raadt
this is OpenBSD.. source for everyone..
2007-11-25correct pathname variable matching, and also support ${MACHINE}Theo de Raadt
2007-11-25Extend the "file" directive to accept multiple pathnames seperated by '|'.Theo de Raadt
If more than one path is provided, access() them to choose which one should be used, while parsing for ${name} expansions... currently limited to MACHINE_ARCH ok miod
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-06-28Add check for nlist failure to prevent a segfault.Ray Lai
Remove ret variable, which is only set but not never checked. return (1) instead of exit(1) for consistency. Original diff from Rainer Giedat. OK millert, maja, and otto.
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-20document the args to the "timezone" command;Jason McIntyre
fixes documentation/5403: dst argument not defined in config manpage from James Hartley
2007-03-20various text improvements to make this page read better. also add inJason McIntyre
a little of afterboot(8)'s wisdom to prepare for my killing the kernel building section in afterboot(8) (which is here replicated);
2007-03-20make synopsis/usage() a little nicer;Jason McIntyre
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2006-12-06Don't access buf[strlen(buf) - 1] for zero-length strings.Ray Lai
OK jaredy@.
2006-10-30Now that we have smarter lex and yacc rules, remove redundant linesOtto Moerbeek
from Makefile. ok millert@
2006-05-06lint can't do assembly files, put them directly in OBJS.Marc Espie
okay theo
2006-04-27lint(1) support in config:Marc Espie
- LINTS variables to hold the list of *.ln files. - OBJS derives from it, since it can contain more files. - add set of explicit rules for each .ln file. - add a lint-with keyword that duplicates compile-with functionality to special-case linting instead of compilation. Full linting is dependent on LINT_* macros in the arch dependent template files. As is, doesn't break normal build. Just creates larger Makefiles. Review/ok miod@, cloder@, deraadt@
2006-04-08Whack some obviously dead code (double return's, code after goto).Kenneth R Westerback
ok pedro@
2006-03-23reword; ok ottoJason McIntyre
2006-03-17Add BUGS section documenting included files should start with aOtto Moerbeek
newline or comment. Problem found by mpech@; ok miod@