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:
bdrewery 2017-10-29 01:21:42 +00:00
parent aa089525eb
commit 7390ebc28c

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}