Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2010 14:49:58 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        <gary.jennejohn@freenet.de>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: `make cleanworld` and /usr/obj/lib32/usr/src
Message-ID:  <permail-20100227134958f0889e840000246d-a_best01@message-id.uni-muenster.de>
In-Reply-To: <20100222120300.22d4efb1@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
how about something like this?

alex

Gary Jennejohn schrieb am 2010-02-22:
> On Mon, 22 Feb 2010 00:20:14 +0100 (CET)
> Alexander Best <alexbestms@wwu.de> wrote:

> > hi there,

> > anybody fancy the idea of including /usr/obj/lib32/usr/src in the
> > cleanworld
> > target on amd64?


> Seems like a reasonable thing to do.

> ---
> Gary Jennejohn

[-- Attachment #2 --]
Index: Makefile
===================================================================
--- Makefile	(revision 204383)
+++ Makefile	(working copy)
@@ -158,7 +158,12 @@
 	-rm -rf ${.OBJDIR}/*
 	-chflags -R 0 ${.OBJDIR}
 	rm -rf ${.OBJDIR}/*
+.if exists (${MAKEOBJDIRPREFIX}/lib32${.CURDIR}/)
+	-rm -rf ${MAKEOBJDIRPREFIX}/lib32${.CURDIR}/*
+	-chflags -R 0 ${MAKEOBJDIRPREFIX}/lib32${.CURDIR}
+	-rm -rf ${MAKEOBJDIRPREFIX}/lib32${.CURDIR}/*
 .endif
+.endif
 
 #
 # Handle the user-driven targets, using the source relative mk files.

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20100227134958f0889e840000246d-a_best01>