Date: Sat, 22 Jun 1996 16:01:43 +0200 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: "Jordan K. Hubbard" <jkh@time.cdrom.com> Cc: current@freebsd.org Subject: Wanted: Testers for an alternate to /usr/obj (as we know it). Message-ID: <199606221401.QAA05748@campa.panke.de> In-Reply-To: <24932.835409971@time.cdrom.com> References: <24932.835409971@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jordan K. Hubbard writes: >In case you ISPs out there haven't twigged to the significance of this >yet either, with these changes you can now keep a single copy of >/usr/src up to date for any number of machines, having simultaneous >`make worlds' run from a single NFS mounted source partition on >multiple clients with none of the mutual interferance problems we have >now. That's why *I* wanted this feature, anyway! :-) Jordan, this already works with the current bsd.obj.mk ;-)))) Example: $ mkdir /tmp/obj # temp obj tree $ cd /a/current/src/lkm # compile for obj-mavic, set CFLAGS or other variables $ env BSDOBJDIR=/tmp/obj MAKEOBJDIR=obj-mavic make -I \ /a/current/src/share/mk obj depend all # compile for obj-campa, set CFLAGS or other variables $ env BSDOBJDIR=/tmp/obj MAKEOBJDIR=obj-campa make -I \ /a/current/src/share/mk obj depend all Now you have two differently symlinks to different obj directories. $ cd /a/current/src/lkm/cd9660 $ ls -l total 4 drwxrwxr-x 2 wosch wheel 512 May 29 15:46 CVS -rw-rw-r-- 1 wosch wheel 285 Sep 22 1994 Makefile lrwxrwxr-x 1 wosch wheel 43 Jun 22 14:55 obj-campa -> /tmp/obj/a/current/src/lkm/cd9660/obj-campa lrwxrwxr-x 1 wosch wheel 43 Jun 22 14:55 obj-mavic -> /tmp/obj/a/current/src/lkm/cd9660/obj-mavic Wolfram
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606221401.QAA05748>