Date: Sat, 8 Aug 1998 19:26:50 +1000 From: Bruce Evans <bde@zeta.org.au> To: jb@cimlogic.com.au, wollman@khavrinen.lcs.mit.edu Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, dag-erli@ifi.uio.no, dfr@FreeBSD.ORG, dfr@nlsystems.com Subject: Re: cvs commit: src/sys/alpha/conf GENERIC Message-ID: <199808080926.TAA11379@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> # cd /sys >> # rmdir compile >> # mkdir /usr/obj/sys/compile >> # ln -s !$ . > >No. That still means making a modification to the source tree. I'd prefer >the source tree to stay read-only. The source tree already can't be read-only, since config scribbles in src/sys/compile. To fix this, first do the equivalent of the first 3 steps in the above in cvs: $ 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). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808080926.TAA11379>