summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.kern.mk
Commit message (Collapse)AuthorAgeFilesLines
* Fixed sys/boot/pc98/boot2/Makefile to use kern.mk andru2003-03-021-13/+0
| | | | | | get rid of bsd.kern.mk completely. OK'ed by: bde
* Initiate the de-orbit burn sequence for <bsd.kern.mk>.ru2003-02-281-54/+8
| | | | | | | | | Always use sys/conf/kern.mk when building kernel/modules. <bsd.kern.mk> is only preserved for sys/boot/pc98/boot2 for now, but this will be fixed. If there are other users of <bsd.kern.mk>, please let me know. Reminded by: bde
* - Removed various cruft from before we had a hosted toolchain (!).jake2003-02-271-0/+9
| | | | | - Moved special compiler flags to bsd.kern.mk so they get used for modules too.
* ia64 specific CFLAGS change:marcel2002-10-131-1/+1
| | | | | | | | | | | | Fix the "@gprel relocation against dynamic symbol xxx" linker error. Variables defined in the link unit and small enough to be put in the short data section will have a gp-relative access sequence (using the @gprel relocation). It is invalid to have @gprel relocations in shared libraries, because they are to be resolved by the static linker and not the dynamic linker. The -fpic option will cause @ltoff relocations for @gprel relocations, but the side-effects are untested (if any). Instead, disable/eliminate the short data section to achieve the same.
* Use the -mno-align-long-strings on i386's to debloat the kernel a little.bde2002-10-041-1/+1
| | | | | | This reduces the size of GENERIC's text space by 73999 bytes (about 2%). The bloat is from approximately 3437 strings longer than 31 characters being padded to a 32-byte boundary.
* Bump the -mev56 to -mev6. Otherwise, when you compile with gcc usingpeter2002-09-061-2/+2
| | | | | | | ev6 or pca56 etc this downgrades the cpu specification passed to gas. As a result, gas will fail when gcc generates media instructions (in uipc_usrreq.c). This only affects what gas will accept, not what gcc generates or what our *.s file contain.
* Turned format checking back on. It was left turned off for too long afterbde2002-08-251-7/+1
| | | | | | the gcc lossage that caused it to be turned off was fixed. Tested with: i386/{GENERIC,LINT,...}, alpha/GENERIC
* For now, make the .ifdef GCC3 case default. We should change -Wno-formatpeter2002-05-241-7/+1
| | | | | | back to -fformat-extensions (or whatever) when we have the functionality. We are gaining warnings again that should be fixed but the are being hidden by NO_WERROR and all the -Wformat noise.
* Use -ffreestanding for kernel bits unconditionally.obrien2002-05-041-2/+0
|
* This will have to be revised, but allow putting 'makeoptions GCC3=true'peter2001-09-101-0/+15
| | | | | in a kernel config file. This should minimize the tearing-out-hair process while updating the kernel for gcc-3 compliance.
* revert previous accidental commitassar2001-07-221-1/+5
|
* get rid of some printf and pointer type warningsassar2001-07-221-5/+1
|
* Add section for building ia64 kernels.dfr2000-10-161-0/+8
|
* Reserve register t7 on alpha to point at per-cpu global variables.dfr2000-04-281-1/+2
|
* Fix the grammar in my previous commit "lose" -> "loss".mpp2000-04-241-1/+1
| | | | | | I should have done it that way in the first place. Pointed-out-by: bde
* Fix a typo in the comments.mpp2000-04-231-1/+1
| | | | Submitted by: Allen Campbell <allenc@verinet.com>
* Make "-mpreferred-stack-boundary=2" the default on the i386.obrien1999-11-171-0/+13
| | | | This reduces the size of the kernel and modules when compiled with GCC 2.95.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fixed comment and whitespace lossage in recent commits. The -W flagbde1999-01-291-7/+14
| | | | | | is not implied by -Wall as claimed by gcc.1. Adding it causes a measly 7193 new warnings for LINT, mostly for "unused parameter" and "comparison between signed and unsigned".
* Cleanup bsd.kern.mk after last commit.dillon1999-01-291-14/+4
|
* Turn on -Wall and -Wcast-qualdillon1999-01-271-5/+11
|
* Move some compile flags from the kernel makefile to bsd.kern.mk so thatdfr1998-12-171-1/+9
| | | | | | kernel modules are built with the right flags. Suggested by: Andrew Gallatin <gallatin@cs.duke.edu>
* Add -Wunused to kernel build flags.archie1998-12-141-3/+3
| | | | Reviewed by: cvs-committers@freebsd.org
* Turned on -Wformat -fformat-extensions. -fformat-extensions requires abde1998-09-091-3/+4
| | | | | -current version of gcc. Without it, -Wformat would complain about all the nonstandard %[Dbrz] formats in the kernel.
* Added -ansi to CWARNFLAGS so that ANSI errors don't come back.bde1998-05-011-2/+2
|
* Oops, comment lines can't be indented either.bde1997-10-211-3/+2
|
* Oops, comment lines can't be continued.bde1997-10-211-3/+3
|
* Added -Wuninitialized to CWARNFLAGS. Warnings about uninitialializedbde1997-10-211-2/+3
| | | | | | | | variables were lost when we removed -W, and 23 new ones including at least one serious one have crept in for LINT. Restored -Winline to CFLAGS. This gives only 3 old warnings and 1 new for LINT.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Turned off -W and -Winline so that the warnings that should be fixed forbde1996-11-111-3/+3
| | | | | | | | | | | | 2.2 are more obvious. -Winline is unimportant, but -W gives thousands of warnings for comparisions. Turning off -W also loses warnings for: - auto variables clobbered by longjmp. Not much of a problem in the kernel. - functions returning without a value. I don't like losing this. - an expression statement or the left side of a comma operand contains no side effects. Turning this off also stops warnings for the low quality debugging macros in gsc.c and lpt.c. Should be in 2.2.
* Oops, this wasn't supposed to have -Wcast-qual yet.bde1996-10-091-2/+2
| | | | | | | Also disabled -Wunused. It caused too many warnings even for me. The sign mismatch warnings should be fixed first. They are more important and harder to disable (they are controlled by -W, which controls too many things).
* Oops, forgot to cvs add bsd.kern.mk.bde1996-10-081-0/+15
Centralized the definition of CWARNFLAGS into bsd.kern.mk.
OpenPOWER on IntegriCloud