From owner-freebsd-current@FreeBSD.ORG Mon Oct 27 21:32:38 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1EE1106569B for ; Mon, 27 Oct 2008 21:32:38 +0000 (UTC) (envelope-from mboxindia@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id 5AABD8FC19 for ; Mon, 27 Oct 2008 21:32:36 +0000 (UTC) (envelope-from mboxindia@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so521719ika.3 for ; Mon, 27 Oct 2008 14:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=+rM8NKEl5DFB4c2KkvXxuL2A4hqUzkT1rdY1A+gPwgM=; b=oBMsZTOXAY5+74AOtZ10tHl6/HxvQf0Ao3VTqvj9V7fThKU+8dRXuG8QSY+2EYSb8O RptjboXX6uN6CaZW8KX+7MVbr+qgTZ1yUPne6oS0DXqSF964zqXhujWwecrz7tHmwiKS bCk0awLnG38o6FQXDAqRaYFurBwh7uEK6crcY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=CZl2k3o+P7pMfTYaPDZaJjDhpZVmx3NU132YCGzTRBz/g2WTMtfdTlZ/HmXd3ifZZI /lD1aQg975VW8rPHoZ89AuVgqCVW64gBs5P9Jz9Ya8W8q6B8FxGswLVh6MqnKhAA7ewh PUXvh/Jq9OFwruuxxb59lN47VJnYnJxXRkCkM= Received: by 10.103.171.6 with SMTP id y6mr2991742muo.101.1225141804577; Mon, 27 Oct 2008 14:10:04 -0700 (PDT) Received: by 10.103.141.5 with HTTP; Mon, 27 Oct 2008 14:10:04 -0700 (PDT) Message-ID: Date: Tue, 28 Oct 2008 02:40:04 +0530 From: Srinivas To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Usage of files for config X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 21:32:39 -0000 Hello, I am a beginner of freebsd kernel. I have some doubts regarding the Makefile generation using files by config. Could you plz answer the following doubts: I would like to know the usage of files and files.[arch] in sys/conf. Basically, I didnt get the advantage of having a common file for compilation(like files) rather than an individual Makefile in each subdirectory. I have read makefile(of mkmakefile.c in config). What is the usage of "standard", "optional" and "mandatory" and why it is followed by device. What are .m files? What are they used for? Why are some of the rules in the generated makefile *.ln like scsi_all.ln? What is ${NORMAL_LINT} and ${NORMAL_C} in the generated makefile mean? Thanks, Srinivas