diff options
author | peter <peter@FreeBSD.org> | 1999-04-14 16:54:00 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-04-14 16:54:00 +0000 |
commit | f46a918bc07081c79c4f9631fbeb743a44d6010f (patch) | |
tree | 153fe536349050d2572a7316b1b3b45e0fccbd0b /sys/i386 | |
parent | 8c46da439f55d3cba475689d689efd8bb055f3eb (diff) | |
download | FreeBSD-src-f46a918bc07081c79c4f9631fbeb743a44d6010f.zip FreeBSD-src-f46a918bc07081c79c4f9631fbeb743a44d6010f.tar.gz |
Add example for 'makeoptions DEBUG' and some notes. I have not activated
it here since a -g LINT kernel is 100% useless as it won't run and hence
doesn't need debug capabilities (and would just waste disk space :-).
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/conf/LINT | 13 | ||||
-rw-r--r-- | sys/i386/conf/NOTES | 13 |
2 files changed, 24 insertions, 2 deletions
diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT index 17bf557..1d5adea 100644 --- a/sys/i386/conf/LINT +++ b/sys/i386/conf/LINT @@ -2,7 +2,7 @@ # LINT -- config file for checking all the sources, tries to pull in # as much of the source tree as it can. # -# $Id: LINT,v 1.579 1999/04/12 09:45:29 brian Exp $ +# $Id: LINT,v 1.580 1999/04/13 19:38:09 peter Exp $ # # NB: You probably don't want to try running a kernel built from this # file. Instead, you should start from GENERIC, and add options from @@ -29,6 +29,17 @@ ident LINT maxusers 10 # +# The `makeoptions' parameter allows variables to be passed to the +# generated Makefile in the build area. DEBUG happens to be magic. +# The following is equivalent to 'config -g KERNELNAME' and creates +# 'kernel.debug' compiled with -g debugging as well as a normal +# 'kernel'. Use 'make install.debug' to install the debug kernel +# but that isn't normally necessary as the debug symbols are not loaded +# by the kernel and are not useful there anyway. +# +#makeoptions DEBUG="-g" #Build kernel with gdb(1) debug symbols + +# # Certain applications can grow to be larger than the 128M limit # that FreeBSD initially imposes. Below are some options to # allow that limit to grow to 256MB, and can be increased further diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 17bf557..1d5adea 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -2,7 +2,7 @@ # LINT -- config file for checking all the sources, tries to pull in # as much of the source tree as it can. # -# $Id: LINT,v 1.579 1999/04/12 09:45:29 brian Exp $ +# $Id: LINT,v 1.580 1999/04/13 19:38:09 peter Exp $ # # NB: You probably don't want to try running a kernel built from this # file. Instead, you should start from GENERIC, and add options from @@ -29,6 +29,17 @@ ident LINT maxusers 10 # +# The `makeoptions' parameter allows variables to be passed to the +# generated Makefile in the build area. DEBUG happens to be magic. +# The following is equivalent to 'config -g KERNELNAME' and creates +# 'kernel.debug' compiled with -g debugging as well as a normal +# 'kernel'. Use 'make install.debug' to install the debug kernel +# but that isn't normally necessary as the debug symbols are not loaded +# by the kernel and are not useful there anyway. +# +#makeoptions DEBUG="-g" #Build kernel with gdb(1) debug symbols + +# # Certain applications can grow to be larger than the 128M limit # that FreeBSD initially imposes. Below are some options to # allow that limit to grow to 256MB, and can be increased further |