Author: bdrewery Date: Wed Mar 20 22:49:41 2019 New Revision: 345351 URL: https://svnweb.freebsd.org/changeset/base/345351
Log: 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 Modified: head/sys/conf/kern.post.mk Modified: head/sys/conf/kern.post.mk ============================================================================== --- head/sys/conf/kern.post.mk Wed Mar 20 21:48:43 2019 (r345350) +++ head/sys/conf/kern.post.mk Wed Mar 20 22:49:41 2019 (r345351) @@ -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 _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "[email protected]"
