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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321442

View File

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