From owner-freebsd-hackers Mon Apr 12 0: 2:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id DE2EC1500D for ; Mon, 12 Apr 1999 00:02:33 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.9.2/8.9.2) id UAA42750; Sun, 11 Apr 1999 20:59:23 +0100 (BST) (envelope-from nik) Date: Sun, 11 Apr 1999 20:59:22 +0100 From: Nik Clayton To: Matthew Dillon Cc: Greg Lehey , dg@root.com, hackers@FreeBSD.ORG Subject: Re: Annoying debug-kernel config messages Message-ID: <19990411205922.A41677@catkin.nothing-going-on.org> References: <199904102115.OAA01764@apollo.backplane.com> <199904110145.SAA27717@implode.root.com> <19990411112709.D2142@lemis.com> <199904110640.XAA03249@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199904110640.XAA03249@apollo.backplane.com>; from Matthew Dillon on Sat, Apr 10, 1999 at 11:40:59PM -0700 Organization: Nik at home, where there's nothing going on Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 10, 1999 at 11:40:59PM -0700, Matthew Dillon wrote: > I make debug kernels my setting 'makeoptions' in the kernel config, aka > > makeoptions DEBUG="-g" > > I think this is the proper way to do it. This way you can just 'config' > your kernel labels and not have to remember which ones are supposed to > generate debug symbols and which ones are not. > > This ability to use makeoptions is not well documented in LINT. > Considering its usefulness, it would sure be nice if someone would add > and document it in LINT ( hint hint ) :-). Got any idea how to word it? I just had a look, and LINT already has a few examples of "makeoptions" in there. I thought about adding something like == # # Additional options that will be included verbatim on the make(1) # command line when this kernel is compiled. # #makeoptions DEBUG="-g" == but thought I'd run it past you guys first. N -- Bagel: The carbohydrate with the hole To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message