From owner-cvs-all Sat Aug 8 03:33:49 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA28411 for cvs-all-outgoing; Sat, 8 Aug 1998 03:33:49 -0700 (PDT) (envelope-from owner-cvs-all) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA28405 for ; Sat, 8 Aug 1998 03:33:44 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id UAA13209; Sat, 8 Aug 1998 20:39:24 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199808081039.UAA13209@cimlogic.com.au> Subject: Re: cvs commit: src/sys/alpha/conf GENERIC In-Reply-To: <199808080926.TAA11379@godzilla.zeta.org.au> from Bruce Evans at "Aug 8, 98 07:26:50 pm" To: bde@zeta.org.au (Bruce Evans) Date: Sat, 8 Aug 1998 20:39:24 +1000 (EST) Cc: committers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > $ cvs co src/sys/compile > $ rm src/sys/compile/.keep_me > $ cvs remove src/sys/compile/.keep_me > $ cvs commit src/sys/compile > $everyone cvs update -P src/sys/compile > > Then fix config to build somewhere in the object tree. The usual name > for the object directory ($MAKEOBJDIRPREFIX`pwd`) doesn't work since there > may be multiple config files. How about > > $MAKEOBJDIRPREFIX`pwd`.obj ? > > `.obj' is appended so that naturally named object links can be created > if the source tree is writable, e.g., > > GENERIC.obj -> /usr/obj/usr/src/sys/i386/conf/GENERIC.obj > > Alternative: move the config files to their own subdirectories (GENERIC > -> GENERIC/conf, etc.) so that there is only one obj directory per > source directory. This would be better if we ever stopped using separate > obj directories by default (the default should probably be to build in > "." where "." is actually in a union-mounted obj tree if the user wants > a read-only source tree). This is all sounding pretty complicated. Since the contents of the compile directory are initially generated by config and then as the result of building the kernel, I don't see why there has to be a specific compile directory at all. It makes more sense to me to type 'config' in the directory I want to build in. Then there are only two things I have to specify the location of: 1. The config file. My custom config files don't belong in FreeBSD's source tree. 2. The location of the source tree. The /usr/src directory or symlink can point to that, with the option of adding a specific path to the config command line if I want to use something else. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137