Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 23:07:19 +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-12@freebsd.org
Subject:   svn commit: r346936 - stable/12/sys/conf
Message-ID:  <201904292307.x3TN7Ju2090314@repo.freebsd.org>

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

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/12/sys/conf/kern.post.mk
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/conf/kern.post.mk
==============================================================================
--- stable/12/sys/conf/kern.post.mk	Mon Apr 29 22:37:35 2019	(r346935)
+++ stable/12/sys/conf/kern.post.mk	Mon Apr 29 23:07:19 2019	(r346936)
@@ -122,6 +122,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?201904292307.x3TN7Ju2090314>