Date: Thu, 19 Feb 2004 17:15:13 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: "M. Warner Losh" <imp@bsdimp.com> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Message-ID: <p0602044dbc5ae3ef9334@[128.113.24.47]> In-Reply-To: <20040219.144228.91313152.imp@bsdimp.com> References: <20040219134104.GB14981@ip.net.ua> <xzpeksrw3si.fsf@dwp.des.no> <200402191248.19870.jhb@FreeBSD.org> <20040219.144228.91313152.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 2:42 PM -0700 2/19/04, M. Warner Losh wrote: >In message: <200402191248.19870.jhb@FreeBSD.org> > John Baldwin <jhb@FreeBSD.org> writes: >: If /usr/obj is a symlink it should stay that way so that a >: user doesn't have to relink it every time. Using /* is >: probably the best approach. > >This will remove *ALL* object trees, not just the one that is >generated from the current source tree. I've already mentioned this to John, but his comment implied that ${.OBJDIR} == /usr/obj, and that is not true. It is MAKEOBJDIRPREFIX which defaults to /usr/obj, and that will result in an ${.OBJDIR) of /usr/obj/usr/src. However, it is also true that there are times that I have created /usr/obj/usr/src as a symlink, or have mounted a partition on top of it. So, it is true that I explicitly do not want the target to remove the ${.OBJDIR} directory. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0602044dbc5ae3ef9334>