Preliminary patch for cleaning up some of the dbg/optmz stuff... This is 
a first pass through. It builds and runs clean on redhat, but I haven't tested
much.

Makes options

--enable-debug-kernel
--disable-optimize-kernel
--enable-debug
--disable-optimize
--enable-debug-lwp
--disable-optimize-lwp

It has a set of make vars:

DBG
OPTMZ
KERN_DBG
KERN_OPTMZ
LWP_DBG
LWP_OPMTZ

It doesn't do much safety checking - linux probably won't build if you do 
--disable-optimize-kernel for example.

Feel free to send any suggested changes/etc. From looking around, it looks
like a ton of the CFLAGS/etc. config can be pulled back more to the central
config so it's shared common across all makefiles.

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  [EMAIL PROTECTED]
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216

Attachment: clean.diff.gz
Description: application/gunzip

Reply via email to