Date: Thu, 6 Nov 2014 17:19:42 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274186 - head/share/mk Message-ID: <201411061719.sA6HJgFu062138@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu Nov 6 17:19:41 2014 New Revision: 274186 URL: https://svnweb.freebsd.org/changeset/base/274186 Log: Ignore errors from rm -rf to support high -j builds. This is, at best, a kludge. However, it also effectively works around the issues for high -j builds on systems that do not have the rm fixes. A better fix would be to rmdir here, and fix the places where we're sloppy and not list all the files we create in CLEANFILES, should anybody have the time to chase them all to ground. Modified: head/share/mk/bsd.obj.mk Modified: head/share/mk/bsd.obj.mk ============================================================================== --- head/share/mk/bsd.obj.mk Thu Nov 6 16:52:51 2014 (r274185) +++ head/share/mk/bsd.obj.mk Thu Nov 6 17:19:41 2014 (r274186) @@ -112,7 +112,7 @@ whereobj: .if ${CANONICALOBJDIR} != ${.CURDIR} && exists(${CANONICALOBJDIR}/) cleanobj: - @rm -rf ${CANONICALOBJDIR} + @-rm -rf ${CANONICALOBJDIR} .else cleanobj: clean cleandepend .endif @@ -130,7 +130,7 @@ clean: rm -f ${CLEANFILES} .endif .if defined(CLEANDIRS) && !empty(CLEANDIRS) - rm -rf ${CLEANDIRS} + -rm -rf ${CLEANDIRS} .endif .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411061719.sA6HJgFu062138>