Source-Changes-HG archive

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

[src/trunk]: src/external/gpl2/dtc Add build glue (from skrll)



details:   https://anonhg.NetBSD.org/src/rev/1a2da95954d3
branches:  trunk
changeset: 354148:1a2da95954d3
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jun 05 18:59:43 2017 +0000

description:
Add build glue (from skrll)

diffstat:

 external/gpl2/dtc/Makefile                  |   5 +++++
 external/gpl2/dtc/Makefile.inc              |   4 ++++
 external/gpl2/dtc/lib/Makefile              |   5 +++++
 external/gpl2/dtc/lib/libfdt/Makefile       |  19 +++++++++++++++++++
 external/gpl2/dtc/usr.bin/Makefile          |   5 +++++
 external/gpl2/dtc/usr.bin/dtc/Makefile      |  21 +++++++++++++++++++++
 external/gpl2/dtc/usr.bin/dtc/version_gen.h |   1 +
 7 files changed, 60 insertions(+), 0 deletions(-)

diffs (88 lines):

diff -r 9d8d1ce269f6 -r 1a2da95954d3 external/gpl2/dtc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl2/dtc/Makefile        Mon Jun 05 18:59:43 2017 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
+
+SUBDIR = lib .WAIT usr.bin
+
+.include <bsd.subdir.mk>
diff -r 9d8d1ce269f6 -r 1a2da95954d3 external/gpl2/dtc/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl2/dtc/Makefile.inc    Mon Jun 05 18:59:43 2017 +0000
@@ -0,0 +1,4 @@
+#      $NetBSD: Makefile.inc,v 1.1 2017/06/05 18:59:43 christos Exp $
+
+BINDIR=                /usr/bin
+DIST=          ${NETBSDSRCDIR}/external/gpl2/dtc/dist
diff -r 9d8d1ce269f6 -r 1a2da95954d3 external/gpl2/dtc/lib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl2/dtc/lib/Makefile    Mon Jun 05 18:59:43 2017 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
+
+SUBDIR+=       libfdt
+
+.include <bsd.subdir.mk>
diff -r 9d8d1ce269f6 -r 1a2da95954d3 external/gpl2/dtc/lib/libfdt/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl2/dtc/lib/libfdt/Makefile     Mon Jun 05 18:59:43 2017 +0000
@@ -0,0 +1,19 @@
+#      $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
+
+LIBISPRIVATE=  yes
+
+.include <bsd.own.mk>
+
+LIB=   fdt
+
+.include "${.CURDIR}/../../Makefile.inc"
+.include "${.CURDIR}/../../dist/libfdt/Makefile.libfdt"
+
+SRCS=  ${LIBFDT_SRCS}
+
+CPPFLAGS+=     -I ${DIST}/libfdt
+
+.PATH: ${DIST}/libfdt
+
+.include <bsd.lib.mk>
+
diff -r 9d8d1ce269f6 -r 1a2da95954d3 external/gpl2/dtc/usr.bin/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl2/dtc/usr.bin/Makefile        Mon Jun 05 18:59:43 2017 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
+
+SUBDIR+=       dtc
+
+.include <bsd.subdir.mk>
diff -r 9d8d1ce269f6 -r 1a2da95954d3 external/gpl2/dtc/usr.bin/dtc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl2/dtc/usr.bin/dtc/Makefile    Mon Jun 05 18:59:43 2017 +0000
@@ -0,0 +1,21 @@
+#      $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
+
+NOMAN= # defined
+
+.include <bsd.own.mk>
+
+PROG=  dtc
+
+.include "${.CURDIR}/../../Makefile.inc"
+.include "${DIST}/Makefile.dtc"
+
+CPPFLAGS+=     -I${.CURDIR}
+CPPFLAGS+=     -I${DIST}
+CPPFLAGS+=     -I${DIST}/libfdt
+
+SRCS+= ${DTC_SRCS} dtc-lexer.l dtc-parser.y
+YFLAGS+= -d -L
+
+.PATH: ${DIST}
+
+.include <bsd.prog.mk>
diff -r 9d8d1ce269f6 -r 1a2da95954d3 external/gpl2/dtc/usr.bin/dtc/version_gen.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl2/dtc/usr.bin/dtc/version_gen.h       Mon Jun 05 18:59:43 2017 +0000
@@ -0,0 +1,1 @@
+#define DTC_VERSION "DTC 1.4.1"



Home | Main Index | Thread Index | Old Index