svn commit: r315460 - head/sys/conf

Bryan Drewery bdrewery at FreeBSD.org
Fri Mar 17 18:08:34 UTC 2017


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


More information about the svn-src-all mailing list