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 :-).
This commit is contained in:
Peter Wemm 1999-04-14 16:54:00 +00:00
parent aa9e9524c9
commit 7bf01a1401
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45681
3 changed files with 36 additions and 3 deletions

View File

@ -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
@ -28,6 +28,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

View File

@ -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
@ -28,6 +28,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

View File

@ -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
@ -28,6 +28,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