From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 30 11:21:18 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 041B6106564A for ; Thu, 30 Oct 2008 11:21:18 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B78AA8FC23 for ; Thu, 30 Oct 2008 11:21:17 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 1C5806D43F; Thu, 30 Oct 2008 11:21:16 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 0480784494; Thu, 30 Oct 2008 12:21:15 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Srinivas References: Date: Thu, 30 Oct 2008 12:21:15 +0100 In-Reply-To: (Srinivas's message of "Tue, 28 Oct 2008 03:52:35 +0530") Message-ID: <8663naib10.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: Usage of "files" for config X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2008 11:21:18 -0000 Srinivas writes: > I would like to know the usage of files and files.[arch] in sys/conf. "files" and "options" are used to determine which source files should be included and which preprocessor macros should be defined according to the "device" and "option" lines in the kernel config. However, as a "beginner of freebsd kernel", I would recommend that you spend your time reading (and writing or modifying) source code, not trying to understand the Makefiles. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no