From owner-cvs-all Fri Aug 7 08:04:07 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18746 for cvs-all-outgoing; Fri, 7 Aug 1998 08:04:07 -0700 (PDT) (envelope-from owner-cvs-all) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18556; Fri, 7 Aug 1998 08:03:22 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id BAA19129; Sat, 8 Aug 1998 01:03:03 +1000 Date: Sat, 8 Aug 1998 01:03:03 +1000 From: Bruce Evans Message-Id: <199808071503.BAA19129@godzilla.zeta.org.au> To: jb@cimlogic.com.au, wollman@khavrinen.lcs.mit.edu Subject: Re: cvs commit: src/sys/alpha/conf GENERIC Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, dag-erli@ifi.uio.no, dfr@FreeBSD.ORG, dfr@nlsystems.com Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> Better still, change config to not require write access to the source >> tree, defaulting it's path to /sys and allowing that to be changed >> by a switch. Then you could do: > >You mean like: > ># cd /sys ># rmdir compile ># mkdir /usr/obj/sys/compile ># ln -s !$ . I've used this since you made it work 4 years ago (rev.1.28 of Makefile.i386). There are some more details (see the log message) and gotchas (cvs doesn't like the compile directory going away). The main problem is that config doesn't create the right link for `machine' or any link for `@'. Copying these links from a nearby /sys/compile/FOO directory always seemed easier than fixing config. I think I'd prefer for /sys/compile to go away and virtual obj links to be kept in the source directory like they are for non-kernel sources. Bruce