The .depend.obj cleanup hacks are only needed with -DNO_CLEAN.

Sponsored by:	Dell EMC Isilon
This commit is contained in:
Bryan Drewery 2017-07-24 23:32:43 +00:00
parent c2fd1d01e8
commit dc75d44eca

View File

@ -770,7 +770,6 @@ _worldtmp: .PHONY
fi
.endfor
.endif # ${USING_SYSTEM_COMPILER} == "yes"
.endif # !defined(NO_CLEAN)
# Our current approach to dependency tracking cannot cope with certain source
# tree changes, particularly with respect to removing source files and
@ -813,6 +812,9 @@ _worldtmp: .PHONY
${OBJTREE}${.CURDIR}/world32/${.CURDIR}/lib/libc/.depend.${f}.*
.endif
.endfor
.endif # !defined(NO_CLEAN)
.for _dir in \
lib lib/casper usr legacy/bin legacy/usr
mkdir -p ${WORLDTMP}/${_dir}