Subject: Re: CVS commit: src
To: None <firstname.lastname@example.org>
From: Chris G. Demetriou <email@example.com>
Date: 05/16/1999 20:05:18
Matthias Drochner <firstname.lastname@example.org> writes:
> Modified Files:
> src/sys/dev/wscons: files.wscons wsdisplay.c wskbd.c
> Log Message:
> Sort out the inclusion of wscons source files: the files are only
> compiled if the corresponding devices are configured.
> (Files calling wscons functions have to check whether these are present.)
in my opinon, the right way to do this is with some function pointers,
or stub functions, in the MI wscons code.
The individual drivers shouldn't need #include/#if (yes, I know i
started it)... if somebody ever gets around to trying to create
binary kernel configuration kits, this would be Yet Another Thing to
be fixed, and there's no point in that. 8-)
Chris Demetriou - email@example.com - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.