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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"