Date: Sat, 8 Aug 1998 20:39:24 +1000 (EST) From: John Birrell <jb@cimlogic.com.au> To: bde@zeta.org.au (Bruce Evans) Cc: committers@freebsd.org Subject: Re: cvs commit: src/sys/alpha/conf GENERIC Message-ID: <199808081039.UAA13209@cimlogic.com.au> In-Reply-To: <199808080926.TAA11379@godzilla.zeta.org.au> from Bruce Evans at "Aug 8, 98 07:26:50 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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`<configfilename>.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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808081039.UAA13209>