svn commit: r346936 - stable/12/sys/conf
Enji Cooper
ngie at FreeBSD.org
Mon Apr 29 23:07:21 UTC 2019
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
More information about the svn-src-stable-12
mailing list