Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Get rid of 'sync' after each kernel build. It adds a not...
details: https://anonhg.NetBSD.org/src/rev/7e291b8b4713
branches: trunk
changeset: 954733:7e291b8b4713
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Wed Sep 09 12:06:02 2020 +0000
description:
Get rid of 'sync' after each kernel build. It adds a noticeable delay to
builds on modern systems and seems to have been added as a workaround for
some 2004-era Linux NFS bug. Guessing that the issue has been sorted out
in the meantime.
diffstat:
etc/Makefile | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diffs (28 lines):
diff -r 0ab8421b333a -r 7e291b8b4713 etc/Makefile
--- a/etc/Makefile Wed Sep 09 09:52:16 2020 +0000
+++ b/etc/Makefile Wed Sep 09 12:06:02 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.447 2020/09/03 18:59:33 jakllsch Exp $
+# $NetBSD: Makefile,v 1.448 2020/09/09 12:06:02 jmcneill Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -582,10 +582,6 @@
build_kernels: .PHONY
# Configure & compile kernels listed in ${ALL_KERNELS}
#
-# The 'sync' is so that all writes during the build are pushed back
-# to the disk. Not having it causes problems on some host systems
-# (e.g. Linux) when building on NFS.
-#
.if !defined(KERNELS_DONE) # {
.for configfile in ${ALL_KERNELS:O:u} # {
build_kernels: kern-${configfile}
@@ -597,7 +593,6 @@
.endif
${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} depend && \
${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///}
- sync
.endfor # ALL_KERNELS # }
.endif # KERNELS_DONE # }
Home |
Main Index |
Thread Index |
Old Index