Skip to content

Commit

Permalink
Makefile.inc1: Run distrib-cleanup for worldtmp under I_REALLY_MEAN_N…
Browse files Browse the repository at this point in the history
…O_CLEAN

Normally delete-old-files will handle this as part of _cleanworldtmp,
but if we're skipping that then we need to handle the few edge cases
that distrib-cleanup is there for.

Fixes:	9ccc906 ("Update CHERI libc++ to LLVM17")
  • Loading branch information
jrtc27 committed Feb 4, 2025
1 parent 3d2e71c commit ab216a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,10 @@ _bootstrap-tools:
${_+_}cd ${.CURDIR}; ${BMAKE} _NO_INCLUDE_COMPILERMK=t _cleanobj_fast_depend_hack
.endif
${_+_}cd ${.CURDIR}; ${BMAKE} bootstrap-tools
.if ${MK_CLEAN} != "yes" && defined(I_REALLY_MEAN_NO_CLEAN)
${_+_}cd ${.CURDIR}/etc; \
${MAKE} DIRPRFX=etc/ DESTDIR=${WORLDTMP} distrib-cleanup
.endif
mkdir -p ${WORLDTMP}/usr ${WORLDTMP}/lib/geom ${WORLDTMP}/bin
${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.usr.dist \
-p ${WORLDTMP}/usr >/dev/null
Expand Down

0 comments on commit ab216a1

Please sign in to comment.