Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/kern/lib Rewrite rules so that makesyscalls.sh will...



details:   https://anonhg.NetBSD.org/src/rev/7d07be3aa097
branches:  trunk
changeset: 338329:7d07be3aa097
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon May 18 17:49:16 2015 +0000

description:
Rewrite rules so that makesyscalls.sh will not be executed multiple
times in a parallel make.

Hopefully fixes sporadic build failures reported by Justin

diffstat:

 sys/rump/kern/lib/Makefile.sys |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 867a3bb89040 -r 7d07be3aa097 sys/rump/kern/lib/Makefile.sys
--- a/sys/rump/kern/lib/Makefile.sys    Mon May 18 15:11:47 2015 +0000
+++ b/sys/rump/kern/lib/Makefile.sys    Mon May 18 17:49:16 2015 +0000
@@ -1,13 +1,15 @@
-# $NetBSD: Makefile.sys,v 1.2 2015/05/09 12:03:10 pooka Exp $
+# $NetBSD: Makefile.sys,v 1.3 2015/05/18 17:49:16 pooka Exp $
 
 SYS_MKSYSCALLS=${.CURDIR}/../../../../kern/makesyscalls.sh
 
 SYS_DST=  ${SYS_P}calls.c ${SYS_P}ent.c ${SYS_P}callargs.h ${SYS_P}call.h
 SYS_SRC=${SYS_MKSYSCALLS} ${.CURDIR}/syscalls.conf ${.CURDIR}/syscalls.master
 
-${SYS_DST}: ${SYS_SRC}
+${SYS_P}callargs.h: ${SYS_SRC}
        cd ${.OBJDIR} && ${HOST_SH} ${.ALLSRC}
 
+${SYS_P}ent.c: ${SYS_P}callargs.h
+
 CPPFLAGS+= -I${.OBJDIR}
 
 DPSRCS+= ${SYS_P}callargs.h



Home | Main Index | Thread Index | Old Index