Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 18:08:33 +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: r315460 - head/sys/conf
Message-ID:  <201703171808.v2HI8X4e059970@repo.freebsd.org>

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

Log:
  kmod: Fix building assym.o not building missing dependencies.
  
  For instance, in the dtrace/dtrace module, building dtrace_asm.o wants
  to build genassym.o first, but it doesn't build the missing ilinks
  and if_*.h headers which are part of the OBJS_DEPEND_GUESS list
  of dependencies to build if a .depend file is missing.
  
  MFC after:	1 week
  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 18:08:00 2017	(r315459)
+++ head/sys/conf/kmod.mk	Fri Mar 17 18:08:33 2017	(r315460)
@@ -453,6 +453,7 @@ acpi_quirks.h: ${SYSDIR}/tools/acpi_quir
 
 .if !empty(SRCS:Massym.s)
 CLEANFILES+=	assym.s genassym.o
+DEPENDOBJS+=	genassym.o
 assym.s: genassym.o
 .if defined(KERNBUILDDIR)
 genassym.o: opt_global.h



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