From owner-svn-src-all@freebsd.org Fri Mar 17 18:08:02 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F5F3D10210; Fri, 17 Mar 2017 18:08:02 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1196F1DF7; Fri, 17 Mar 2017 18:08:01 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2HI81oJ059912; Fri, 17 Mar 2017 18:08:01 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2HI817Y059911; Fri, 17 Mar 2017 18:08:01 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201703171808.v2HI817Y059911@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Fri, 17 Mar 2017 18:08:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315459 - head/sys/conf X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2017 18:08:02 -0000 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