summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2011-11-20 19:05:32 +0000
committerGlen Barber <gjb@FreeBSD.org>2011-11-20 19:05:32 +0000
commit123ba50fdcaece75f98b75e6154ff15da77fc656 (patch)
tree6cf8cda171dc6cd6b8b650f44dec2ea2a0d692b2 /Makefile
parent034235528fec7f3b71b14dc7ed14d6eb6e26041e (diff)
Notes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 61e678bd9751..52f35d2facd7 100644
--- a/Makefile
+++ b/Makefile
@@ -185,7 +185,10 @@ buildworld: upgrade_checks
# files with chflags set, so this unsets them and tries the 'rm' a
# second time. There are situations where this target will be cleaning
# some directories via more than one method, but that duplication is
-# needed to correctly handle all the possible situations.
+# needed to correctly handle all the possible situations. Removing all
+# files without the immutable flag set in the first 'rm' instance saves
+# time, because 'chflags' will need to operate on fewer files (with the
+# immutable flag set) afterwards.
#
BW_CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR}
cleanworld: