Module Name: src
Committed By: skrll
Date: Sun Dec 22 12:42:23 UTC 2019
Modified Files:
src/external/gpl2/dtc/dist: Makefile.dtc
src/external/gpl2/dtc/usr.bin/dtc: Makefile
Log Message:
Update for new DTC
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/external/gpl2/dtc/dist/Makefile.dtc
cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/dtc/usr.bin/dtc/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/gpl2/dtc/dist/Makefile.dtc
diff -u src/external/gpl2/dtc/dist/Makefile.dtc:1.1.1.2 src/external/gpl2/dtc/dist/Makefile.dtc:1.2
--- src/external/gpl2/dtc/dist/Makefile.dtc:1.1.1.2 Sun Dec 22 12:34:03 2019
+++ src/external/gpl2/dtc/dist/Makefile.dtc Sun Dec 22 12:42:23 2019
@@ -15,9 +15,9 @@ DTC_SRCS = \
treesource.c \
util.c
-ifneq ($(NO_YAML),1)
-DTC_SRCS += yamltree.c
-endif
+#ifneq ($(NO_YAML),1)
+#DTC_SRCS += yamltree.c
+#endif
DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o)
Index: src/external/gpl2/dtc/usr.bin/dtc/Makefile
diff -u src/external/gpl2/dtc/usr.bin/dtc/Makefile:1.3 src/external/gpl2/dtc/usr.bin/dtc/Makefile:1.4
--- src/external/gpl2/dtc/usr.bin/dtc/Makefile:1.3 Thu May 31 09:08:25 2018
+++ src/external/gpl2/dtc/usr.bin/dtc/Makefile Sun Dec 22 12:42:23 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/05/31 09:08:25 mrg Exp $
+# $NetBSD: Makefile,v 1.4 2019/12/22 12:42:23 skrll Exp $
NOMAN= # defined
@@ -12,6 +12,7 @@ PROG= dtc
CPPFLAGS+= -I${.CURDIR}
CPPFLAGS+= -I${DTCDIST}
CPPFLAGS+= -I${LIBFDTDIST}
+CPPFLAGS+= -DNO_YAML
SRCS+= ${DTC_SRCS} dtc-lexer.l dtc-parser.y
YFLAGS+= -d -L