xdev: Add missing 'make obj' treewalk for 'make includes'.

It is possible that building headers requires an OBJDIR.
The other phases of xdev have their own 'make obj' calls
where needed, such as inside 'make libraries' itself.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Bryan Drewery 2017-10-29 01:21:42 +00:00
parent 2aba4f29f9
commit 57820ca8df

View File

@ -2897,6 +2897,10 @@ _xi-cross-tools: .PHONY
.endfor
_xi-includes: .PHONY
.if !defined(NO_OBJ)
${_+_}cd ${.CURDIR}; ${CD2MAKE} -f Makefile.inc1 _obj \
DESTDIR=${XDDESTDIR}
.endif
${_+_}cd ${.CURDIR}; ${CD2MAKE} -f Makefile.inc1 includes \
DESTDIR=${XDDESTDIR}