svn commit: r330724 - head/sys/conf

Bryan Drewery bdrewery at FreeBSD.org
Sat Mar 10 02:10:28 UTC 2018


Author: bdrewery
Date: Sat Mar 10 02:10:26 2018
New Revision: 330724
URL: https://svnweb.freebsd.org/changeset/base/330724

Log:
  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

Modified:
  head/sys/conf/kern.post.mk

Modified: head/sys/conf/kern.post.mk
==============================================================================
--- head/sys/conf/kern.post.mk	Sat Mar 10 02:10:19 2018	(r330723)
+++ head/sys/conf/kern.post.mk	Sat Mar 10 02:10:26 2018	(r330724)
@@ -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


More information about the svn-src-head mailing list