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:
Bryan Drewery 2017-07-12 19:01:25 +00:00
parent 5aaf766710
commit f80b8a886d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320919

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)