Date: Wed, 30 Dec 1998 16:13:07 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: current@FreeBSD.ORG Subject: Re: -DKERNEL option when compiling kernels ? Message-ID: <199812310013.QAA91777@apollo.backplane.com> References: <199812301945.UAA18533@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
:> :most things being in opt_global.h
:> :
:> :Couldn't it also go into opt_global.h ?
:> :
:> : luigi
:>
:> No, else how do source moduels know whether to #include opt_global.h
:> or not ? If they aren't being compiled as part of the kernel no
:> opt_global.h would exist.
:
:perhaps i wasn't clear. It is just a cosmetic issue.
:
:A kernel compile is now run as
:
: cc ... -DKERNEL -include opt_global.h ...
:
:so opt_global.h is not explicitly included by any file, and one could
:as well put a #define KERNEL into it.
:Now the only thing would be that opt_global.h contains almost nothing,
:which makes me think that it could also disappear at some point...
Ah! I understand. I'll be damned... didn't even notice that it was
doing that!
-Matt
: luigi
:
:-----------------------------------+-------------------------------------
: Luigi RIZZO .
: EMAIL: luigi@iet.unipi.it . Dip. di Ing. dell'Informazione
: HTTP://www.iet.unipi.it/~luigi/ . Universita` di Pisa
: TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy)
:-----------------------------------+-------------------------------------
:
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications & God knows what else.
<dillon@backplane.com> (Please include original email in any response)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812310013.QAA91777>
