Source-Changes-HG archive

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

[src/trunk]: src/external/gpl2/dtc Update for new DTC



details:   https://anonhg.NetBSD.org/src/rev/ec561ef1f134
branches:  trunk
changeset: 847415:ec561ef1f134
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Dec 22 12:42:23 2019 +0000

description:
Update for new DTC

diffstat:

 external/gpl2/dtc/dist/Makefile.dtc    |  6 +++---
 external/gpl2/dtc/usr.bin/dtc/Makefile |  3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 90ca9457174b -r ec561ef1f134 external/gpl2/dtc/dist/Makefile.dtc
--- a/external/gpl2/dtc/dist/Makefile.dtc       Sun Dec 22 12:41:52 2019 +0000
+++ b/external/gpl2/dtc/dist/Makefile.dtc       Sun Dec 22 12:42:23 2019 +0000
@@ -15,9 +15,9 @@
        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)
diff -r 90ca9457174b -r ec561ef1f134 external/gpl2/dtc/usr.bin/dtc/Makefile
--- a/external/gpl2/dtc/usr.bin/dtc/Makefile    Sun Dec 22 12:41:52 2019 +0000
+++ b/external/gpl2/dtc/usr.bin/dtc/Makefile    Sun Dec 22 12:42:23 2019 +0000
@@ -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 @@
 CPPFLAGS+=     -I${.CURDIR}
 CPPFLAGS+=     -I${DTCDIST}
 CPPFLAGS+=     -I${LIBFDTDIST}
+CPPFLAGS+=     -DNO_YAML
 
 SRCS+= ${DTC_SRCS} dtc-lexer.l dtc-parser.y
 YFLAGS+= -d -L



Home | Main Index | Thread Index | Old Index