META_MODE: Fix not writing .meta files in the kernel build.

This was a regression in r320220 due to improper porting of the
same logic from share/mk/bsd.dep.mk and having only tested with
-DNO_FILEMON at the time.

Pointyhat to:	bdrewery
Reported by:	Mark Millard, dhw, O. Hartmann
Sponsored by:	Dell EMC Isilon
This commit is contained in:
bdrewery 2017-07-12 19:01:25 +00:00
parent ec4ae1e66d
commit 85c933be0f

View File

@ -203,8 +203,7 @@ _meta_filemon= 1
# for _meta_filemon but not for _SKIP_DEPEND.
.if !empty(.MAKEFLAGS:M-V${_V_READ_DEPEND}) || make(*obj) || \
${.TARGETS:M*clean*} == ${.TARGETS} || \
${.TARGETS:M*install*} == ${.TARGETS} || \
defined(_meta_filemon)
${.TARGETS:M*install*} == ${.TARGETS}
_SKIP_DEPEND= 1
.endif
.if defined(_SKIP_DEPEND) || defined(_meta_filemon)