Or better yet, put your tools in a place associated with that source
tree. I have gdt-{3,4,5,current} all at once in /usr/obj, each with
their own tools, releasedir, destdir, so everything stays cleanly
separated. I use BUILD-NetBSD from etcmanage (which is both a commented
example of how to use build.sh and a recipe for doing it my way :-), and
here's an example:
===> build.sh command: ./build.sh -m i386 -j2 -x -u -U -O /usr/obj/gdt-5/i386
-T /usr/obj/gdt-5/tools -D /usr/obj/gdt-5/destdir/i386 -R
/usr/obj/gdt-5/releasedir -X /n0/gdt/NetBSD-5/xsrc release
Attachment:
pgpfJ_x2BYAeh.pgp
Description: PGP signature