compiler-metadata: Properly handle cross-build OBJDIR.

MFC after:	3 days
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Bryan Drewery 2017-06-23 18:27:03 +00:00
parent 275219cfe7
commit 2d5cc53891

View File

@ -882,7 +882,7 @@ _cross-tools:
@echo "--------------------------------------------------------------"
@echo ">>> stage 3: cross tools"
@echo "--------------------------------------------------------------"
@rm -f ${.OBJDIR}/compiler-metadata.mk
@rm -f ${OBJTREE}${.CURDIR}/compiler-metadata.mk
${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools
${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
_build-metadata: