Subject: Re: More config changes, for ro source tree and disjoint build trees
To: None <tech-kern@NetBSD.ORG>
From: der Mouse <mouse@Holo.Rodents.Montreal.QC.CA>
List: tech-kern
Date: 08/14/1996 06:34:49
>> This is fine for "major" options, like COMPAT_10.  It rapidly
>> becomes a maintenance nightmare when it comes to things like
>> RASTERCONS_SMALLFONT or REAL_CLISTS or MAPPED_MBUFS or [...]

> Agreed ... It would be up to the individual ports to decide how to
> handle those.

Over a third of those (those I originally listed) are port-independent.

Specifically,

kern/init_main.c:#ifdef REAL_CLISTS
kern/uipc_socket.c:#ifdef	MAPPED_MBUFS
ufs/lfs/lfs_alloc.c:#ifdef ALLOCPRINT
ufs/lfs/lfs_segment.c:#ifdef TRIPLE

RASTERCONS_SMALLFONT was not one I found through grepping, but it turns
out to be in arch/sparc/dev/rcons_font.h.  I could point to
COLORFONT_CACHE and RASTERCONS_WONB, though, which are in dev/rcons.

					der Mouse

			    mouse@collatz.mcrcim.mcgill.edu
		    01 EE 31 F6 BB 0C 34 36  00 F3 7C 5A C1 A0 67 1D