svn commit: r346927 - stable/11/sys/conf
Enji Cooper
ngie at FreeBSD.org
Mon Apr 29 20:53:21 UTC 2019
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
More information about the svn-src-all
mailing list