summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.i386
Commit message (Collapse)AuthorAgeFilesLines
...
* Make the xxxFILES= list generation generic. This makes it easier to addpeter2000-11-251-4/+4
| | | | things like MFILES= or CONFFILES= without having to modify config code.
* Fix the `make -jX' (X>1) breakage.obrien2000-11-171-9/+11
| | | | | Based on patch submitted by: Makoto MATSUSHITA <matusita@jp.freebsd.org> Reviewed by: marcel, bde
* Add a hook for doing #include magic (for src/tools/tools/kerninclude).phk2000-10-291-1/+1
|
* Connect the new ACPICA code to the 'acpica' device.msmith2000-10-281-0/+5
|
* Make it possible to specify profiling in the kernel config file.phk2000-10-141-1/+1
| | | | Do so for LINT.
* Blah rev 1.208 got bits of the proposed "I want the file /kernel to beobrien2000-10-031-7/+6
| | | | | | | the kernel" patch. This commit is only the "Do not prepend `DESTDIR' to `KMODDIR' as sys/conf/kmod.mk already does that for us" change.
* Do not prepend `DESTDIR' to `KMODDIR' as sys/conf/kmod.mk already doesobrien2000-10-031-7/+8
| | | | that for us.
* Install the kernel KLM as "kernel" by default.obrien2000-09-141-1/+1
|
* Create an "expert" mode where the device hints are not checked duringobrien2000-09-071-0/+2
| | | | installation. This is need for the release build.
* Remove superfluous `/'s before KODIR.obrien2000-09-071-13/+13
| | | | Acceptability explained by: rgrimes
* DESTDIR'ify the device.hints checking code.obrien2000-09-061-2/+2
|
* I forgot the leading `DESTDIR' before the kernel directory.obrien2000-09-061-1/+1
|
* The kernel is now known as `kernel.ko' and it and its matching modulesobrien2000-09-051-27/+34
| | | | live in ``/boot/kernel/''.
* 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.
* Add some anti-foot-shooting protection to the kernel install target.peter2000-08-251-0/+8
| | | | | Do not install a kernel unless a device.hints exists. Yes, you can create an empty hints file if you refuse to use them.
* * Create entire directory path for modules.obrien2000-08-031-1/+1
| | | | * Don't ignore error returns.
* Don't bitch when trying to create a ${DESTDIR}/modules which alreadysheldonh2000-08-031-1/+1
| | | | exists.
* -mkdir the ${DESTDIR}/modules directory upon modules-install in case itgreen2000-07-271-0/+1
| | | | | | doesn't exist. This could bite you by allowing you merrily install your modules one on top of the other as the regular file ${DESTDIR}/modules and think it completed properly...
* Make the generated set headers depend on Makefile as well (that is wherepeter2000-06-221-2/+2
| | | | | | | the list of .o files comes from - if we change the list of files that are built, we need to rescan the files) Obtained from: bde (indirectly)
* Add back "NO_MODULES" as using ``make -DMODULES_WITH_WORLD'' in theobrien2000-06-171-1/+1
| | | | kernel build dir doesn't really say what your intentions are.
* If "MODULES_WITH_WORLD" is defined, sys/modules will be built with theobrien2000-06-171-1/+1
| | | | | | | world as was our old way, rather than when building a kernel. Some people do not like the new way, and the release building still assumes modules are built with the world.
* Fix ``make installkernel''brian2000-06-161-1/+1
|
* Only copy /modules to /modules.old if /modules exists and is populated.obrien2000-06-151-2/+4
| | | | Submitted by: John DeBoskey <jwd@FreeBSD.org>
* Borrow phk's axe and apply the next stage of config(8)'s evolution.peter2000-06-131-7/+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
* Use objcopy to strip the gcc2_compiled. symbol from kernels.peter2000-06-121-3/+5
| | | | ld(1) doesn't seem to have the ability to delete an arbitary symbol.
* 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 "nm | awk ..." instead of genassym(1) to generate symbol value headers.bde2000-06-021-3/+3
| | | | | | | | Symbol values are now represented using array sizes (4 arrays per symbol so that 16-bit machines can represent 64-bit values) instead of being raw binary values. Reviewed by: marcel
* MFA: Add {kernel,module}-{depend,clean,cleandepend,tags,install,reinstall}obrien2000-05-271-34/+56
| | | | | targets. The {depend,clean,cleandepend,tags,install,reinstall} targets are composits of the {kernel,module}-* targets (based on NO_MODULES).
* Create a separate target for the 'modules'. Without this the modulesn_hibma2000-05-091-0/+6
| | | | | | are only rebuilt if the kernel has changed as well. While there make 'all' and 'modules' a PHONY target.
* Set MAKEOBJDIRPREFIX to modules/ in the current directory and build modulesobrien2000-05-041-6/+10
| | | | there.
* Cause modules to build with the kernel build. Modules are removedchuckr2000-05-021-0/+18
| | | | | | | | | | from the sys Makefile's SUBDIRs. This is conditioned in make.conf by the NO_MODULES variable and the existence of the modules directory. The actual location of the modules is not modified. Changes in Makefiles only, this does not affect Peter's recent changes. Reviewed by: Peter Wemm, who warned me I would get some flack, and he had the good idea for the NO_MODULES variable.
* LOAD_ADDRESS is not used here. See conf/ldscript.* for the link basepeter2000-04-291-1/+0
| | | | address.
* * Factor out the object system from new-bus so that it can be used bydfr2000-04-081-2/+2
| | | | | | | | | | non-device code. * Re-implement the method dispatch to improve efficiency. The new system takes about 40ns for a method dispatch on a 300Mhz PII which is only 10ns slower than a direct function call on the same hardware. This changes the new-bus ABI slightly so make sure you re-compile any driver modules which you use.
* Make it possible to include a device interface description by a singledfr2000-04-051-3/+14
| | | | | | | line in files or files.${arch} instead of 13 lines of code. This is a small chance that this will break the alpha kernel build - I'll fix it this evening if it does.
* Include param.o in the list of files that we scan for linker sets.peter2000-03-291-2/+2
| | | | Without this, we cannot put sysctl nodes in there.
* 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.
* Put on my asbestos suit and move $mach/conf/*.$mach to conf/*.$mach aspeter2000-01-091-2/+2
| | | | | | | | | | | | | | | | | | hinted at in the previous config(8) commits. I've spoken about this with a few people and after the initial suprise wore off they thought it wasn't a bad idea. The upshot of it is that all the files*, Makefile*, options* files are all right next to each other in the hope that people making changes to one set will remember the others. Note, config(8) looks to sys/conf first, and falls back to sys/$mach/conf still, so this doesn't stop people working in subdirs for new platforms. But once it's in the tree it can be moved next to the other files so that the non-i386 platforms are (hopefully) treated a little better than as if they were "second class" ports. This does not change any user editable files. the config program is still run in the same directory as before, the per-platform files (GENERIC, LINT etc) are still in the same place.
* Changed MACHINE -> MACHINE_ARCH to make the i386-kernel be able tokato2000-01-091-1/+1
| | | | compiled on PC98.
* 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.
* Further sync Alpha and i386 Makefiles. Remove KERNFORMAT = elf stuff aspeter2000-01-081-13/+0
| | | | | | it's always true on these platforms (and is likely to be on others as well since loader is the one that is configured for whatever the boot requirements are)
* genassym is ELF-only, therefore the kernel is now ELF-only as well.peter2000-01-081-8/+0
|
* Compile genassym.c with ordinary ${CFLAGS}. The (small) needs forbde2000-01-081-14/+10
| | | | | | | | | ${GEN_CFLAGS} and -U_KERNEL became negative when all all the genassym.c's were converted to be cross-built. Makefile.*: - Cleanups associated with the old genassym. - Fixed deprecated spelling of ${.IMPSRC} as "$<".
* Use genassym(1). The definitions of NKPDE and NKPT have been removedmarcel2000-01-071-5/+2
| | | | | | | because they are already defined in pmap.h, resulting in duplicate definitions. Reviewed by: bde
* Bring the Alpha and x86 Makefiles closer together.peter2000-01-071-10/+10
|
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-4/+2
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Zap kvm_kernel.db stuff now that libkvm gets it directly from the runningpeter1999-12-271-7/+0
| | | | kernel.
* Fixed stripping of aout debugging kernels.bde1999-12-261-4/+4
| | | | | | Fixed some style bugs (always use precisely 1 space after `:' in dependency specifications). Removed bogus dependency of ${FULLKERNEL} on ${BEFORE_DEPEND}.
* Be more consistant in using perl vs. perl5. We were using perl5 in thepeter1999-12-171-4/+4
| | | | | | | | | kernel builds so as not to confuse with perl4 when bootstrapping from old systems. I don't know if this is still applicable but it shouldn't hurt to be consistant at least. Also copy vnode_if.sh to vnode_if.pl. Doing a 'sh vnode_if.sh' when it was a perl script was kinda silly.
* Use a seperate -c and -h mode. The vnode_if.c file is compiled only intopeter1999-12-121-4/+7
| | | | | | | | | the kernel while the vnode_if.h header is a bunch of inlines to call the code that is in the kernel. Generating the .h file on the fly is kinda bogus because it has to match the one compiled into the kernel. IMHO we should have kern/vnode_if.c and sys/vnode_if.h committed in the tree but that's another battle.
* Update the Alpha makefile to be more in line with the x86 version. Itpeter1999-11-221-21/+11
| | | | | was getting quite dated. Attempt to minimize diffs between the two so it's not as painful to do this next time.
OpenPOWER on IntegriCloud