summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| | | | Reduce overlinking
* Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-191-0/+2
| | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-1/+0
|
* Fixed "make checkdpadd" (missing library dependencies).ru2007-10-011-1/+1
| | | | Approved by: re (kensmith)
* Add ${.CURDIR} before kernconf.tmpl in order to let the build see newlywkoszek2007-05-121-1/+1
| | | | | | added kernconft.tmpl file. Approved by: cognet (mentor)
* Improve INCLUDE_CONFIG_FILE support.wkoszek2007-05-121-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will let us to have full configuration of a running kernel available in sysctl: sysctl -b kern.conftxt The same configuration is also contained within the kernel image. It can be obtained with: config -x <kernelfile> Current functionality lets you to quickly recover kernel configuration, by simply redirecting output from commands presented above and starting kernel build procedure. "include" statements are also honored, which means options and devices from included files are also included. Please note that comments from configuration files are not preserved by default. In order to preserve them, you can use -C flag for config(8). This will bring configuration file and included files literally; however, redirection to a file no longer works directly. This commit was followed by discussion, that took place on freebsd-current@. For more details, look here: http://lists.freebsd.org/pipermail/freebsd-current/2007-March/069994.html http://lists.freebsd.org/pipermail/freebsd-current/2007-May/071844.html Development of this patch took place in Perforce, hierarchy: //depot/user/wkoszek/wkoszek_kconftxt/ Support from: freebsd-current@ (links above) Reviewed by: imp@ Approved by: imp@
* config.5 was repocopied from share/man/man5/ to usr.sbin/config/.ru2005-12-091-1/+1
| | | | Repocopied by: peter
* Fix a few glitches in my previous commit.cognet2004-05-111-1/+1
| | | | This makes config(8) WARNS?=6 compliant.
* 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
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-3/+5
| | | | | 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.
* - 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
|
* ${BDECFLAGS} work. And fix a real error in the process. A "MAXUSERS"peter2001-02-191-1/+1
| | | | | 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.
* 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
* Further cleanup. Also remove the following unused or defunct tokens:peter1999-10-101-1/+1
| | | | and, bio, cam, master, minor, net, priority, sequential, size, slave, trace
* $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.
* Further cleanups. i386_ioconf.c and alpha_ioconf.c were essentially thepeter1999-04-181-1/+2
| | | | | same and were merged into a single newbus_ioconf.c. CG'd some more unused code.
* Get out the blow torch and hack away all the unused stuff. Note thatpeter1999-04-171-2/+2
| | | | | | I zapped the MACHINE_MIPS stuff, it isn't likely to be useful apart from recognition of the machine name. It would be reasonable to expect new ports would look something like the alpha/i386 from a config perspective.
* Clean up the -g/DEBUG handling. This logic can go in the Makefilepeter1999-04-131-3/+3
| | | | so that config -g can work the same as: makeoptions DEBUG="-g"
* Backed out previous backout. Put y.tab.h back in SRCS.bde1998-05-061-4/+2
|
* Backed out previous commit. It was tested, but not for the case wherebde1998-05-051-3/+5
| | | | | a separate object tree doesn't exist. Crufty makefiles will have to put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
* Fixed races in `make -jN' using new yacc rules.bde1998-05-041-5/+3
|
* Fixed `make -jN' for large N, as usual.bde1998-03-061-1/+3
|
* Style police service brought to you by: bdeeivind1998-02-191-3/+0
|
* For safety's sake, explicitly depend all objects on the configvers.h headerpeter1997-10-221-0/+2
| | | | | to make sure that it's all recompiled even if there is no 'make depend'. This is overkill, but should be one less thing that someone can do wrong.
* Oops, the previous commit shouldn't have touch the Makefile.bde1997-09-071-1/+1
|
* Don't say that swapping is configured by config.bde1997-09-071-1/+1
|
* Backout yacc changes.phk1996-06-021-1/+1
|
* yacc rule changes.phk1996-05-301-1/+1
|
* Implement support for conf/options and i386/conf/options.i386peter1995-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Note that this code is dormant unless the options files exist. Also, parsing of quoted options in the config files is improved. What this allows, is all the options in LINT to be specified to be configured as #defines in a file rather than on the CC command line at kernel build time. This means that 'make depend' will catch dependencies on actual *options*, meaning that you can run 'config' and 'make depend' in complete safety WITHOUT removing the compile directory each time. Unfortunately, this requires a pass over the source to get the individual files to #include the new .h files that would be generated by config. This has a small compile time penalty (appears up to about 2% slower) from a "fresh" build. Of course, you should not be needing to do complete rebuilds very often once this was completed, so it would be an overall win for most people. Since this code is dormant and we've got a lot of other things happening on the kernel tree at the moment (prototypes, devfs, static declarations etc) I am not planning on doing any changes to activate this feature just yet.
* If CONFIG_NO_CLOBBER_EVER is defined (e.g., in /etc/make.conf), don't makewollman1995-11-281-0/+3
| | | | | it possible for config to ever blow away a work directory. Default behavior remains broken.
* Fix CLEANFILES. Some temporary files were missing.bde1995-09-281-1/+1
|
* Make good on my promise to finally clean up the config clobbering.jkh1995-02-221-3/+0
| | | | | | | If you invoke config with the `-n' flag or have NO_CONFIG_CLOBBER in your environment, config will behave the same way it used to. This is now _documented_ as well. Rip out all the CONFIG_DONT_CLOBBER cruft; some of it wasn't even correct anyway.
* Remove ifdef for STATCLOCK. STATCLOCK is standard.bde1994-11-271-1/+1
|
* Revert back to old config behavior if compiled with -DCONFIG_DONT_CLOBBER.wollman1994-09-061-0/+3
|
* Oops...forgot to list the changes....dg1994-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | /usr/src/usr.sbin.config: o -DSTATCLOCK gives kludges to support the rtc non-device as well as old kludges to support the clk non-device. /usr/src/usr.sbin/config.8: o Document the trivialness of the new vector.h. /usr/src/usr.sbin/mkglue.c: o Only print DEVICE_NAMES and NR_DEVICES in vector.h. These are only required to support vmstat. The vmstat interface will need to be improved for dynamic loading. /usr/src/usr.sbin/mkioconf.c: o Print device ids to be used as indexes into DEVICE_NAMES. o Print secondary interrupt handler entry points (xxxintr()) instead of primary ones (VdevU()). Primary ones are now XintrI() and XfastintrI() and are independent of the config so they are not handled here. o Minor cleanups. Submitted by: Bruce Evans
* Support for Bruce Evans' new dynamic interrupt support.dg1994-08-181-1/+1
| | | | Submitted by: Bruce Evans
* Upgrade config to be compatible with our i386 port, pull in 95% of thergrimes1994-05-261-1/+1
| | | | | changes that have been made in FreeBSD 1.x, except for possibly the nfs diskless support this is a completed config.
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-261-0/+12
OpenPOWER on IntegriCloud