Subject: Re: _KERNEL_foo
To: None <itojun@iijlab.net>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-kern
Date: 12/13/2000 05:03:59
On Wed, Dec 13, 2000 at 02:54:40AM +0900, itojun@iijlab.net wrote:
> 
> >Module Name:	syssrc
> >Committed By:	lukem
> >Date:		Tue Dec 12 08:46:03 UTC 2000
> >
> >Modified Files:
> >	syssrc/usr.sbin/config: main.c
> >
> >Log Message:
> >Add option `KERNEL_foo', where `foo' is the basename of the build directory.
> >This will get added to the Makefile's IDENT= as -DKERNEL_foo.
> 
> 	(s/KERNEL/_KERNEL/)
> 	could you tell us the suggested usage?  like #ifdef _KERNEL_GENERIC?
> 	if so not sure if we would like to attach meanings/behavior change to
> 	kernel configuration filename...

i've done the rename; mrg suggested that too.

i added this because i have to have some specific mods to the source
tree for one of my systems (to prevent it panicing in apm I need to
fake an error return), and it seemed a sensible thing to do. i don't
expect that it will be used by the default kernels much, if at all.

-- 
Luke Mewburn  <lukem@wasabisystems.com>  http://www.wasabisystems.com
Luke Mewburn     <lukem@netbsd.org>      http://www.netbsd.org
Wasabi Systems - providing NetBSD sales, support and service.