Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 18:08:01 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315459 - head/sys/conf
Message-ID:  <201703171808.v2HI817Y059911@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Mar 17 18:08:00 2017
New Revision: 315459
URL: https://svnweb.freebsd.org/changeset/base/315459

Log:
  kmod: Fix depending on ILINKS for tracked DEPENDOBJS.
  
  The objects that may be in the dependency graph may not match
  ${OBJS}.  Ensure the ilink link is added as a dependency for
  all of them when a .depend file is missing for that objfile.
  
  MFC after:	2 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/conf/kmod.mk

Modified: head/sys/conf/kmod.mk
==============================================================================
--- head/sys/conf/kmod.mk	Fri Mar 17 16:50:37 2017	(r315458)
+++ head/sys/conf/kmod.mk	Fri Mar 17 18:08:00 2017	(r315459)
@@ -274,7 +274,7 @@ beforebuild: ${_ILINKS}
 # causes all the modules to be rebuilt when the directory pointed to changes.
 .for _link in ${_ILINKS}
 .if !exists(${.OBJDIR}/${_link})
-${OBJS}: ${_link}
+OBJS_DEPEND_GUESS+=	${_link}
 .endif
 .endfor
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703171808.v2HI817Y059911>