Fix various 'make *clean *all *install' combinations.
This follows commits like r320174 in share/mk/bsd.dep.mk. MFC after: 3 days Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
cd19ecdbdc
commit
202d6f8c61
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320204
@ -200,10 +200,10 @@ _meta_filemon= 1
|
||||
# lookups. For install, only do this if no other targets are specified.
|
||||
# Also skip generating or including .depend.* files if in meta+filemon mode
|
||||
# since it will track dependencies itself. OBJS_DEPEND_GUESS is still used.
|
||||
.if !empty(.MAKEFLAGS:M-V${_V_READ_DEPEND}) || make(obj) || make(clean*) || \
|
||||
.if !empty(.MAKEFLAGS:M-V${_V_READ_DEPEND}) || make(*obj) || \
|
||||
${.TARGETS:M*clean*} == ${.TARGETS} || \
|
||||
${.TARGETS:M*install*} == ${.TARGETS} || \
|
||||
make(kernel-obj) || make(kernel-clean*) || \
|
||||
make(kernel-install*) || defined(_meta_filemon)
|
||||
defined(_meta_filemon)
|
||||
_SKIP_READ_DEPEND= 1
|
||||
.MAKE.DEPENDFILE= /dev/null
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user