`make cleanworld` and /usr/obj/lib32/usr/src

Alexander Best alexbestms at wwu.de
Sun Feb 28 16:54:40 UTC 2010


Gary Jennejohn schrieb am 2010-02-28:
> On Sat, 27 Feb 2010 14:49:58 +0100 (CET)
> Alexander Best <alexbestms at wwu.de> wrote:

> > how about something like this?


> Based on a quick look it seems OK to me.

> Have you tested it?

i did. it works when `make cleanworld` is being run from /usr/src. i'm not
sure however what the

.if ${.CURDIR} == ${.OBJDIR} || ${.CURDIR}/obj == ${.OBJDIR}
.if exists(${BW_CANONICALOBJDIR}/)

statement is for so i didn't include the lib32 cleanup in that clause. my
guess is that it's used to catch the case where `make cleanworld` is being run
in /usr/obj/usr/src

cheers.
alex

> ---
> Gary Jennejohn


More information about the freebsd-hackers mailing list