summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/configvers.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow multiple makeoption lines to be used with the += operator, this permitsthompsa2008-11-221-1/+1
| | | | | | | | | | the following syntax in the kernel config. makeoptions MODULES_OVERRIDE=foo makeoptions MODULES_OVERRIDE+=bar makeoptions MODULES_OVERRIDE+=baz Bump config minor version to 600007.
* Bump config(8) version and build requirement for config(8) to 600006. Thiswkoszek2007-05-131-1/+1
| | | | | | | | | | is caused by my latest changes to config(8). You're supposed to install new config(8) in order to prevent yourself from seeing a warning about old version of that tool. You should configure the kernel with a new config(8) then. Oked by: rwatson, cognet (mentor)
* Added rudimentary support for the "include" directive (inside "files").ru2006-10-011-1/+1
| | | | | This will be used to split sys/conf/files into multiple files similar to how this is done in NetBSD.
* Allow newer config versions to config older versions with the sameimp2006-02-031-20/+28
| | | | | | | | major number. Reviewed by: ru@, jhb@, arch@ (a few months ago) # this is subject to refinement based on experience.
* 600004 is a better new version than 700000 based on some future commits toimp2005-11-281-1/+1
| | | | | | | | this file. With ru@'s approval, change it to this version. In this case we had to bump the version because the old parser would choke on | in the new 'or' syntax and consider that a device. Approved by: ru@
* Make config(8) understand ORed dependecies in "files*" andru2005-11-271-2/+2
| | | | improve tracking of known devices. Bump config(8) version.
* Minor comment tweak to prevent gcc from being upset about the substringrwatson2005-11-071-1/+1
| | | | /* appearing in a comment.
* Add some rationale about when to bump and not bump the config version.peter2005-11-071-3/+37
| | | | | | | | | | | | | Clarify that it is not like the shlib versions, and not like param.h's __FreeBSD_version/osreldate either. When config(8) was actively changing a while back, the interface between config and the build system (eg: /sys/conf/files.* and Makefile.*) was changing rapidly. configvers is a version number of that interface. User specified config files do not have a version number. The decision about whether a user supplied config file is syntactically valid or not belongs to the parser and sanity checks, not an arbitary number.
* 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.
* Implement the "nocpu" directive.ru2005-11-031-1/+1
| | | | Requested by: rwatson
* Bump config(8) version for the DEFAULTS change.jhb2005-10-271-1/+1
|
* Allow one to specify a second parameter to the machine line. Thisimp2005-04-011-2/+2
| | | | | | | | | | | 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@
* Bump the version number for the addition of devices / nodevices.des2005-02-101-1/+1
|
* Kill count device support from config. I've changed the last fewpeter2004-08-301-1/+1
| | | | | | | | | | | | | | | | | 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.
* Add a new "files" directive, which allows to include a files.foo file directlycognet2004-05-091-1/+1
| | | | | from a kernel config file. Bump config version to reflect this change.
* 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.
* Moved the setting of all profiling-related variables except the key onebde2002-07-131-1/+1
| | | | | | | | (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.
* Commit some infrastructure for turning on -Werror for kernel compiles.peter2002-02-201-1/+1
| | | | | | 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
|
* Enable hardwiring of things like tunables from embedded enironmentspeter2001-08-271-1/+1
| | | | that do not start from loader(8).
* Bump config version in config.imp2001-07-021-2/+2
|
* Implement option strings that we can use in #ifdefs (where unavoidable)peter2001-01-191-1/+1
| | | | | | | | 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.
* Make the xxxFILES= list generation generic. This makes it easier to addpeter2000-11-251-1/+1
| | | | things like MFILES= or CONFFILES= without having to modify config code.
* Make it possible to specify profiling in the kernel config file.phk2000-10-141-1/+1
| | | | Do so for LINT.
* If a ${KERNEL}.hints file exists, and no hints are specified explicitly,peter2000-08-251-1/+1
| | | | | then include the hints with a marker indicating that it is a fallback. The kernel side of this is to come shortly.
* Borrow phk's axe and apply the next stage of config(8)'s evolution.peter2000-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Warner Losh's "hint" driver to decode ascii strings to fill the resource table at boot time. config(8) no longer generates an ioconf.c table - ie: the configuration no longer has to be compiled into the kernel. You can reconfigure your isa devices with the likes of this at loader(8) time: set hint.ed.0.port=0x320 userconfig will be rewritten to use this style interface one day and will move to /boot/userconfig.4th or something like that. It is still possible to statically compile in a set of hints into a kernel if you do not wish to use loader(8). See the "hints" directive in GENERIC as an example. All device wiring has been moved out of config(8). There is a set of helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98) that extract the 'at isa? port foo irq bar' from the old files and produces a hints file. If you install this file as /boot/device.hints (and update /boot/defaults/loader.conf - You can do a build/install in sys/boot) then loader will load it automatically for you. You can also compile in the hints directly with: hints "device.hints" as well. There are a few things that I'm not too happy with yet. Under this scheme, things like LINT would no longer be useful as "documentation" of settings. I have renamed this file to 'NOTES' and stored the example hints strings in it. However... this is not something that config(8) understands, so there is a script that extracts the build-specific data from the documentation file (NOTES) to produce a LINT that can be config'ed and built. A stack of man4 pages will need updating. :-/ Also, since there is no longer a difference between 'device' and 'pseudo-device' I collapsed the two together, and the resulting 'device' takes a 'number of units' for devices that still have it statically allocated. eg: 'device fe 4' will compile the fe driver with NFE set to 4. You can then set hints for 4 units (0 - 3). Also note that 'device fe0' will be interpreted as "zero units of 'fe'" which would be bad, so there is a config warning for this. This is only needed for old drivers that still have static limits on numbers of units. All the statically limited drivers that I could find were marked. Please exercise EXTREME CAUTION when transitioning! Moral support by: phk, msmith, dfr, asmodai, imp, and others
* A checkpoint of a part of a work-in-progress. Some more cleanups forpeter2000-06-101-1/+1
| | | | | | | | config(8). This commit allows control of the creation of the #include "foo.h" files. We now only create them explicitly when needed. BTW; these are mostly bad because they usually imply static limits on numbers of units for devices. eg: struct mysoftc sc[NFOO]; These static limits have Got To Go.
* Use Ns and Sx. -current is 4 not 3.charnier2000-01-231-2/+2
|
* Bump configvers.h as a precaution. Although existing config files willpeter2000-01-231-1/+1
| | | | work unmodified still, new config files won't work on the old ones.
* Bump configversion. The controller/device changes are upwards but notpeter2000-01-091-1/+1
| | | | | downwards compatable. If you try and config a s/controller/device/ kernel with an old config(8), the results will be less than satisfactory.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Put on my viking helmet from the closet, and get out the war axe andpeter1999-05-091-2/+2
| | | | "retire" some more stuff.
* config(8) lobotomy, please see commit msg in sys.phk1999-05-091-2/+2
| | | | (I have no idea why cvs didn't take these changes before.)
* Bump configvers; when the updates to generic/lint get committed, the oldpeter1999-04-241-2/+2
| | | | config has severe indigestion.
* Corresponding minimal changes for kernel configuration after new-buspeter1999-04-161-2/+2
| | | | commit.
* Made booting with -a work for all configurations. Previously itbde1999-04-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only worked for configurations with "swap on generic". usr.sbin/config/config.y: - ignore all "swap [on] device ...' specifications except for warning about them. They haven't done anything related to swap for almost 4 years, and were previously silently ignored, except for "swap on generic" which stopped swap${KERNEL}.c from being generated. Code to support swapping is now deader than before. usr.sbin/config/mkswapconf.c: - don't generate a dummy setconf() function in swap${KERNEL}.c. sys/i386/conf/files.i386: - swapgeneric.c is now standard. It should be merged into autoconf.c so that it doesn't conflict with swap${KERNEL}.c for kernels named "generic". sys/i386/i386/autoconf.c: - don't call setroot() for mfs roots. Since setroot() doesn't do anything harmful, this was just a waste of time, except possibly for booting with -a it may have helped prevent an undesireable call to setconf() by finding a bogus rootdev. - honor -a for ffs roots. -a now overrides all other ways of specifying the root device. Previously, -r had precedence over -a, and the -a handling was usually a no-op. - don't honor -a for non-ffs roots, since it would currently just get in the way of a clean panic. sys/i386/i386/swapgeneric.c: - don't declare things that are now always declared in swap${KERNEL}.c. Don't decide things that are now decided in autoconf.c. Code to support the "generic" case is now dead instead of useless.
* Clean up the -g/DEBUG handling. This logic can go in the Makefilepeter1999-04-131-2/+2
| | | | so that config -g can work the same as: makeoptions DEBUG="-g"
* 1. Modify config to issue different code for debugging.grog1999-04-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. Config complains if you use -g: Debugging is enabled by default, there is no ned to specify the -g option 3. Config warns you if you don't use -s: Building kernel with full debugging symbols. Do "config -s BSD" for historic partial symbolic support. To install the debugging kernel, do make install.debug (BSD was the name of the config file I used; I print out the same name). 4. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 and config to work if a kernel name other than 'kernel' is specified. This is not absolutely necessary, but useful, and it was relatively easy. I now have a kernel called /crapshit :-) 5. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 "clean" target to remove both the debug and normal kernel. 6. Modify all to install the stripped kernel by default and the debug kernel if you enter "make install.debug". 7. Update version number of Makefiles and config.
* * Change 'struct resource' to 'struct config_resource'.dfr1998-11-151-2/+2
| | | | * Bump config version.
* Ignore `vector xxxintr' specifications except for checking their syntax.bde1998-10-231-2/+2
| | | | | | | | | | | Interrupt handlers are now configured in drivers. Didn't update config/SMM.doc. It doesn't have any i386 examples (not even `isa'). Bumped CONFIGVERS. This is not necessary for -current yet, but using the new config with old system sources gives null pointers for all vectors.
* Bump config version. Also mention that even after rebuilding a newgibbs1998-09-151-2/+2
| | | | | config, you may need to resynchronize your config file with syntax or name changes documented in GENERIC or LINT.
* Reviewed by: Doug Rabsonnsouch1998-09-031-2/+2
| | | | | | Submitted by: nsouch 'local' token added to support new bus architecture .c files generated by .m files.
* Removed all traces of PARAM in Makefile.i386. Incremented CONFIGVERSbde1998-07-121-2/+2
| | | | | | | to reflect the dependency of Makefile.i386 on nothing being put in PARAM. Config versioning is too closely coupled with the Makefile.i386.
* Don't generate declarations for isa device structs in "ioconf.h".bde1998-06-171-2/+2
| | | | | | | | | | Don't generate declarations for isa interrupt handlers at all. Isa interrupt handlers are now declared in <i386/isa/isa_device.h> but should be converted take a `void *' arg and staticized as soon as possible. Updated CONFIGVERS. New configs are very incompatible with previous versions.
* Bump configvers to 300003 to account for the crd->card (and related)msmith1997-11-061-2/+2
| | | | namespace changes.
* Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8)peter1997-10-221-0/+11
and the kernel will have a 'config interface version number'. If an incompatable change is made to the kernel that requires a rebuild of config(8) (such as the cam devtab stuff), then the version number would be bumped in both places. If a user neglects to rebuild config, then they will get a nagging (but non-fatal) warning that they need to rebuild config.
OpenPOWER on IntegriCloud