summaryrefslogtreecommitdiffstats
path: root/sys/amd64/conf/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* In sys/<arch>/conf/Makefile set TARGET to <arch>. That allowsbz2010-01-081-0/+2
| | | | | | | | | | | | | | | | sys/conf/makeLINT.mk to only do certain things for certain architectures. Note that neither arm nor mips have the Makefile there, thus essentially not (yet) supporting LINT. This would enable them do add special treatment to sys/conf/makeLINT.mk as well chosing one of the many configurations as LINT. This is a hack of doing this and keeping it in a separate commit will allow us to more easily identify and back it out. Discussed on/with: arch, jhb (as part of the LINT-VIMAGE thread) MFC after: 1 month
* Implemented "nooption" and "nomakeoption" config(8) tokens.ru2003-02-261-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Move most everything back to a MI NOTES, and use "nodevice" in MD NOTESobrien2003-02-251-2/+3
| | | | | | | Where needed. Use 'sed' for now in place of "nooptions". Add a sparc64 MD NOTES. Reviewed by: arch@
* makeLINT.send has been moved to sys/conf so we can build LINT on otherjhb2002-07-151-2/+2
| | | | architectures besides i386.
* Use rm -f in the clean target, as seems to be common practice, and also avoidsjmallett2002-06-221-1/+1
| | | | | | errors if no LINT exists. Submitted by: dwcjr
* Join the pissing contest: generate LINT with a single sed(1) command.des2002-05-021-2/+2
| | | | Smaller script, smaller (though equivalent) output.
* Use shell script version (using awk and sed) of makeLINT.pl.kuriyama2002-05-021-2/+2
|
* First round at trying to split up NOTES into MI and MD portions.jhb2002-04-031-2/+2
| | | | | | | | | | | | Unfortunately, this level doesn't really provide enough granularity. We probably need several MI NOTES type files for things that are shared by several architectures but not by all. For example, the PCI options could live in a NOTES.pci. This also updates the Makefile for i386 to generate LINT. The only changes in the generated LINT are the order of various options. Suggestions for improvement welcome.
* Get the build bits right for the new Architecture Independant null- andmarkm2000-06-251-0/+3
| | | | | entropy drivers. Reviewed by: dfr(mostly)
* Borrow phk's axe and apply the next stage of config(8)'s evolution.peter2000-06-131-0/+7
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
OpenPOWER on IntegriCloud