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 <[email protected]> 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
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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to