From owner-freebsd-current Wed Dec 30 16:13:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21677 for freebsd-current-outgoing; Wed, 30 Dec 1998 16:13:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA21672 for ; Wed, 30 Dec 1998 16:13:33 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.1/8.9.1) id QAA91777; Wed, 30 Dec 1998 16:13:07 -0800 (PST) (envelope-from dillon) Date: Wed, 30 Dec 1998 16:13:07 -0800 (PST) From: Matthew Dillon Message-Id: <199812310013.QAA91777@apollo.backplane.com> To: Luigi Rizzo Cc: current@FreeBSD.ORG Subject: Re: -DKERNEL option when compiling kernels ? References: <199812301945.UAA18533@labinfo.iet.unipi.it> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> :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. (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