Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 1998 01:03:03 +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:  <199808071503.BAA19129@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808071503.BAA19129>