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 MFC after: 2 weeks Reported by: markj
This commit is contained in:
parent
123af6ec70
commit
0a0369387e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345351
@ -140,6 +140,8 @@ kernel-obj:
|
||||
|
||||
.if !defined(NO_MODULES)
|
||||
modules: modules-all
|
||||
modules-depend: beforebuild
|
||||
modules-all: beforebuild
|
||||
|
||||
.if !defined(NO_MODULES_OBJ)
|
||||
modules-all modules-depend: modules-obj
|
||||
|
Loading…
Reference in New Issue
Block a user