CVS commit: src/external/bsd/acpica/bin/iasl

2022-12-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 10 17:41:06 UTC 2022

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
new file


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/acpica/bin/iasl

2022-12-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 10 17:41:06 UTC 2022

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
new file


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.27 src/external/bsd/acpica/bin/iasl/Makefile:1.28
--- src/external/bsd/acpica/bin/iasl/Makefile:1.27	Sat Sep 12 11:25:42 2020
+++ src/external/bsd/acpica/bin/iasl/Makefile	Sat Dec 10 12:41:05 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2020/09/12 15:25:42 jmcneill Exp $
+# $NetBSD: Makefile,v 1.28 2022/12/10 17:41:05 christos Exp $
 
 .include 
 
@@ -234,6 +234,7 @@ SRCS+= \
 	utascii.c \
 	utbuffer.c \
 	utcache.c \
+	utcksum.c \
 	utcopy.c \
 	utdebug.c \
 	utdecode.c \



CVS commit: src/external/bsd/acpica/bin/iasl

2019-10-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Oct 15 16:14:49 UTC 2019

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
add new grammar file


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.24 src/external/bsd/acpica/bin/iasl/Makefile:1.25
--- src/external/bsd/acpica/bin/iasl/Makefile:1.24	Thu Jan 10 05:04:43 2019
+++ src/external/bsd/acpica/bin/iasl/Makefile	Tue Oct 15 12:14:49 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2019/01/10 10:04:43 martin Exp $
+# $NetBSD: Makefile,v 1.25 2019/10/15 16:14:49 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "aarch64")
 PROG=	iasl
@@ -19,7 +19,8 @@ LDADD+=		-ll -ly
 DPADD+=		${LIBL} ${LIBY}
 
 DPSRCS= aslcompilerparse.y aslcompilerlex.c aslcompilerparse.c \
-	dtparserparse.c dtparserlex.c prparserparse.c prparserlex.c
+	dtparserparse.c dtparserlex.c prparserparse.c prparserlex.c \
+	dtcompilerparserparse.c dtcompilerparserlex.c
 
 .PATH:	${TOPDIR}
 SRCS+= \
@@ -90,6 +91,8 @@ SRCS+= \
 	dtexpress.c \
 	dtfield.c \
 	dtio.c \
+	dtcompilerparserlex.c \
+	dtcompilerparserparse.c \
 	dtparserlex.c \
 	dtparserparse.c \
 	dtsubtable.c \
@@ -299,6 +302,18 @@ LPREFIX.dtparserlex.l=DtParser
 dtparserlex.l: ${TOPDIR}/dtparser.l
 	ln -sf ${.ALLSRC} ${.TARGET}
 
+YPREFIX.dtcompilerparserparse.y=DtCompilerParser
+YFLAGS.dtcompilerparserparse.y += -L
+dtcompilerparserparse.y: ${TOPDIR}/dtcompilerparser.y
+	ln -sf ${.ALLSRC} ${.TARGET}
+
+dtcompilerparser.y.h: dtcompilerparserparse.h
+	ln -sf ${.ALLSRC} ${.TARGET}
+
+LPREFIX.dtcompilerparserlex.l=DtCompilerParser
+LFLAGS.dtcompilerparserlex.l += --bison-locations
+dtcompilerparserlex.l: ${TOPDIR}/dtcompilerparser.l
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 YPREFIX.prparserparse.y=PrParser
 prparserparse.y: ${TOPDIR}/prparser.y
@@ -311,23 +326,29 @@ LPREFIX.prparserlex.l=PrParser
 prparserlex.l: ${TOPDIR}/prparser.l
 	ln -sf ${.ALLSRC} ${.TARGET}
 
-CLEANFILES+=	aslcompilerparse.y  aslcompilerparse.c	\
-		aslcompilerparse.h			\
-		aslcompiler.y.h aslcompilerparse.output \
-		aslcompilerlex.l aslcompilerlex.c	\
-			\
-		dtparserparse.y dtparserparse.c		\
-		dtparserparse.h\
-		dtparserlex.l dtparserlex.c		\
-		dtparser.y.h dtparserparse.output	\
-			\
-		prparserparse.y prparserparse.c		\
-		prparserparse.h\
-		prparserlex.l prparserlex.c		\
-		prparser.y.h prparserparse.output	\
-			\
+CLEANFILES+=	aslcompilerparse.y  aslcompilerparse.c			\
+		aslcompilerparse.h	\
+		aslcompiler.y.h aslcompilerparse.output		 	\
+		aslcompilerlex.l aslcompilerlex.c			\
+	\
+		dtparserparse.y dtparserparse.c\
+		dtparserparse.h		\
+		dtparserlex.l dtparserlex.c\
+		dtparser.y.h dtparserparse.output			\
+	\
+		dtcompilerparserparse.y dtcompilerparserparse.c		\
+		dtcompilerparserparse.h	\
+		dtcompilerparserlex.l dtcompilerparserlex.c		\
+		dtcompilerparser.y.h dtcompilerparserparse.output	\
+	\
+		prparserparse.y prparserparse.c\
+		prparserparse.h		\
+		prparserlex.l prparserlex.c\
+		prparser.y.h prparserparse.output			\
+	\
 		y.output y.tab.h
 
 .include 
 
-${__DPSRCS.d} ${OBJS}: prparser.y.h dtparser.y.h aslcompiler.y.h
+${__DPSRCS.d} ${OBJS}: prparser.y.h dtparser.y.h aslcompiler.y.h \
+	dtcompilerparser.y.h



CVS commit: src/external/bsd/acpica/bin/iasl

2019-10-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Oct 15 16:14:49 UTC 2019

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
add new grammar file


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/external/bsd/acpica/bin/iasl

2019-01-09 Thread Christos Zoulas
In article <20190109092730.00052f...@cvs.netbsd.org>,
Martin Husemann  wrote:

> aslcompilerparse.y: aslparser.y
>-  ${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}
>+  ${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}.tmp \
>+  && mv ${.TARGET}.tmp ${.TARGET}

Looks to me like one process can be writing the tmp file while another
is moving it, so that reduces the race window but does not eliminate it.

It is probably better to use a unique name like "" instead of "tmp".
Or create a special make builtin variable for that use :-)

christos