Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 20:53:20 +0000 (UTC)
From:      Enji Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r346927 - stable/11/sys/conf
Message-ID:  <201904292053.x3TKrKL3021768@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Apr 29 20:53:20 2019
New Revision: 346927
URL: https://svnweb.freebsd.org/changeset/base/346927

Log:
  MFC r345351:
  r345351 (by bdrewery):
  
  Build common kernel dependencies before modules.
  
  This ensures files like genassym.o and awk/mfiles are generated before
  descending into the modules build.  It may also allow some module builds
  to not recreate files that are already present in the KERNBUILDDIR.
  
  This fixes a rare build race where genassym.o is missing and assym.inc
  is empty.
  
  More work is planned around this to reduce some redundant dependency
  generation in modules.
  
  PR:		233339

Modified:
  stable/11/sys/conf/kern.post.mk
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/conf/kern.post.mk
==============================================================================
--- stable/11/sys/conf/kern.post.mk	Mon Apr 29 20:21:38 2019	(r346926)
+++ stable/11/sys/conf/kern.post.mk	Mon Apr 29 20:53:20 2019	(r346927)
@@ -111,6 +111,8 @@ kernel-obj:
 
 .if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules)
 modules: modules-all
+modules-depend: beforebuild
+modules-all: beforebuild
 
 .if !defined(NO_MODULES_OBJ)
 modules-all modules-depend: modules-obj



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