Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/acpica/bin/iasl Use the make pid when naming th...



details:   https://anonhg.NetBSD.org/src/rev/f2565636ad6c
branches:  trunk
changeset: 447418:f2565636ad6c
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jan 10 10:04:43 2019 +0000

description:
Use the make pid when naming the temporary file to create aslcompilerparse.y,
so tow parallel make instances won't step on each others toe.
Pointed out by Christos.

diffstat:

 external/bsd/acpica/bin/iasl/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 8df9a21bb7d3 -r f2565636ad6c external/bsd/acpica/bin/iasl/Makefile
--- a/external/bsd/acpica/bin/iasl/Makefile     Thu Jan 10 09:12:57 2019 +0000
+++ b/external/bsd/acpica/bin/iasl/Makefile     Thu Jan 10 10:04:43 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2019/01/09 09:27:29 martin Exp $
+# $NetBSD: Makefile,v 1.24 2019/01/10 10:04:43 martin Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "aarch64")
 PROG=  iasl
@@ -277,8 +277,8 @@
 
 YPREFIX.aslcompilerparse.y=AslCompiler
 aslcompilerparse.y: aslparser.y
-       ${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}.tmp \
-       && mv ${.TARGET}.tmp ${.TARGET}
+       ${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}.tmp.${.MAKE.PID} \
+       && mv ${.TARGET}.tmp.${.MAKE.PID} ${.TARGET}
 
 aslcompiler.y.h: aslcompilerparse.h
        ln -sf ${.ALLSRC} ${.TARGET}



Home | Main Index | Thread Index | Old Index