From owner-cvs-all Tue Sep 1 00:31:04 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA05107 for cvs-all-outgoing; Tue, 1 Sep 1998 00:31:04 -0700 (PDT) (envelope-from owner-cvs-all) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA05102 for ; Tue, 1 Sep 1998 00:31:01 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id JAA19978; Tue, 1 Sep 1998 09:29:58 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id JAA24382; Tue, 1 Sep 1998 09:29:53 +0200 (MET DST) Message-ID: <19980901092952.54287@follo.net> Date: Tue, 1 Sep 1998 09:29:52 +0200 From: Eivind Eklund To: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= Cc: committers@FreeBSD.ORG Subject: Re: make.conf References: <1018.904492666@time.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.89.1i In-Reply-To: =?iso-8859-1?Q?=3Cxzpr9xwpx75=2Efsf=40grjottunagard=2Eifi=2Euio=2Eno=3E?= =?iso-8859-1?Q?=3B_from_Dag-Erling_Coidan_Sm=F8rgrav__on_Tue=2C_Sep_01?= =?iso-8859-1?Q?=2C_1998_at_01=3A07=3A26AM_+0200?= Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Sep 01, 1998 at 01:07:26AM +0200, Dag-Erling Coidan Smørgrav wrote: > "Jordan K. Hubbard" writes: > > If /etc/make.conf is split at all then it should be split into: > > > > /usr/src/conf.mk - configuration frobs exclusively for /usr/src > > > > /usr/ports/conf.mk - configuration frobs exclusively for /usr/ports. > > > > /usr/share/mk/conf.mk - stuff truly global to any invocation of Bmake > > e.g. variables you want both src and ports > > (and so on) to get as a base set before > > potentially laying their own on top. > > No. If I don't have a full source tree installed, but check out part > of the tree (say, 'cvs co ls') from my local copy of the repository, I > won't be able to compile it. If you have to put them i separate > directories, I'd suggest /etc/make/ ostl. ... in which case I won't be able to compile my two checked out source trees with different options in parallel. Doh. This entire issue need somebody to sit down and see what can be done to create a full solution. My preference is for this to work as 'build configuration system' instead of a straight way of setting options. This means that config.file.name will have to be parsed by soem sort of script, and split into a set of option files, just like config(8) does it today. Compiles that need the options must include the files; if the targets are out of date WRT the options, these must be recompiled. This implies the need for something like 'makedepend' for parsing all of this, unless we want to add explict dependencies for all the configuration files. This sucks, but IMO it sucks less than the alternatives. IMO, any scheme that is implemented today should reflect the above model as at least a possibility. Of course, if somebody decide to sit down and do this (and rkw@dataplex.net has offered to do so), then there'd be extra glory to be gained by integrating it so the kernel can be compiled by much of the same mechanism, avoiding having two similar tools. Eivind.