Don't skip reading depend for 'make obj' unless it is alone.
This was effectively done in bsd.dep.mk quite some time ago. MFC after: 2 weeks Sponsored by: Dell EMC
This commit is contained in:
parent
003a0576c9
commit
906ce865c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330724
@ -200,8 +200,9 @@ _meta_filemon= 1
|
||||
# Also skip generating or including .depend.* files if in meta+filemon mode
|
||||
# since it will track dependencies itself. OBJS_DEPEND_GUESS is still used
|
||||
# for _meta_filemon but not for _SKIP_DEPEND.
|
||||
.if !defined(NO_SKIP_DEPEND) && (make(*obj) || \
|
||||
.if !defined(NO_SKIP_DEPEND) && \
|
||||
(!empty(.MAKEFLAGS:M-V) && empty(.MAKEFLAGS:M*DEP*)) || \
|
||||
(${.TARGETS:M*obj} == ${.TARGETS} || \
|
||||
${.TARGETS:M*clean*} == ${.TARGETS} || \
|
||||
${.TARGETS:M*install*} == ${.TARGETS})
|
||||
_SKIP_DEPEND= 1
|
||||
|
Loading…
Reference in New Issue
Block a user