Don't propogate *_DEBUG options. Use DEBUG and recompile

only those parts of the kernel that you are interested in.

Prodded by:	Bruce Evans <bde@zeta.org.au>
This commit is contained in:
steve 1998-02-20 04:19:39 +00:00
parent 07a1e093a1
commit e20cca613d
3 changed files with 4 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $Id: options.i386,v 1.72 1998/02/11 16:22:30 yokota Exp $
# $Id: options.i386,v 1.73 1998/02/20 02:44:18 steve Exp $
BOUNCEPAGES opt_bounce.h
DISABLE_PSE
@ -118,5 +118,3 @@ PCVT_SCANSET opt_pcvt.h
PCVT_SCREENSAVER opt_pcvt.h
PCVT_USEKBDSEC opt_pcvt.h
PCVT_VT220KEYB opt_pcvt.h
LPT_DEBUG opt_lpt.h

View File

@ -1,4 +1,4 @@
# $Id: options.i386,v 1.72 1998/02/11 16:22:30 yokota Exp $
# $Id: options.i386,v 1.73 1998/02/20 02:44:18 steve Exp $
BOUNCEPAGES opt_bounce.h
DISABLE_PSE
@ -118,5 +118,3 @@ PCVT_SCANSET opt_pcvt.h
PCVT_SCREENSAVER opt_pcvt.h
PCVT_USEKBDSEC opt_pcvt.h
PCVT_VT220KEYB opt_pcvt.h
LPT_DEBUG opt_lpt.h

View File

@ -46,7 +46,7 @@
* SUCH DAMAGE.
*
* from: unknown origin, 386BSD 0.1
* $Id: lpt.c,v 1.65 1998/01/24 02:54:21 eivind Exp $
* $Id: lpt.c,v 1.66 1998/02/20 02:44:48 steve Exp $
*/
/*
@ -104,7 +104,6 @@
#include "lpt.h"
#include "opt_devfs.h"
#include "opt_inet.h"
#include "opt_lpt.h"
#include <sys/param.h>
#include <sys/systm.h>
@ -189,7 +188,7 @@
#define BIOS_MAX_LPT 4
#ifndef LPT_DEBUG
#ifndef DEBUG
#define lprintf (void)
#else
#define lprintf if (lptflag) printf