Subject: Re: Use of opt_ headers
To: None <tech-kern@netbsd.org>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 08/28/2006 12:23:49
--QPePu1U48RVBzTKa
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 28, 2006 at 10:07:28AM +0100, David Laight wrote:
[...]
> Code will then have to contain '#if FOO()' which generated a syntax error
> if opt_foo.h isn't defined.
>=20
> Any other thoughts/objections before I try to script the required edit?
> Separating the 'option configured' from the 'option enabled' by having
> two #defines would make any automated edit completely impossible.
>=20
> I might also change the defines to be KERNEL_OPT_FOO at the same time.

What happens to LKMs that use source files from the tree?

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--QPePu1U48RVBzTKa
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iQEVAwUBRPLENdgoQloHrPnoAQL2XQf/ULDRsX3xfmQ0iTOeugmwm6t5r/hhFgA+
08W/I1sbVnYIRI2maakyUEqNObMgfKMIamDNB3AwLFN+f6VYuuGCdV9d8vvB4Xpb
sI4tSHrrnIGAM7e9uRicAjG63kHRcf7ctPqFhHyHl8Hgtp/IHduE6EVOccfP/OYD
rJ2/B67UKtw6PeyCFosLQX6xCbdQaSBiZqnxOUDfHsBLIEV593bEOw7ppQps9rYj
l4V0B7gxZ1y2pDNiSFxe+BWlT65279C8/txPE05dbUWzVq1uS7sRDUDSh8L2Brx1
Ob3SdotOaM9T1xoNTjCNgXuWN55FrsR1aQzod3FwReFbdTNu7+nICQ==
=6XtQ
-----END PGP SIGNATURE-----

--QPePu1U48RVBzTKa--