diff --git a/Makefile.inc1 b/Makefile.inc1 index 3b8c83865dfc..56ec42ff8ae4 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -660,7 +660,9 @@ build-tools: ${_libroken4} ${_libkrb5} lib/libncurses ${_share} \ ${_aicasm} usr.bin/awk usr.bin/file usr.sbin/sysinstall ${ECHODIR} "===> ${_tool}"; \ - cd ${.CURDIR}/${_tool}; ${MAKE} DIRPRFX=${_tool}/ build-tools + cd ${.CURDIR}/${_tool}; \ + ${MAKE} DIRPRFX=${_tool}/ obj; \ + ${MAKE} DIRPRFX=${_tool}/ build-tools .endfor #