Module Name: src
Committed By: christos
Date: Mon Jun 5 22:44:40 UTC 2017
Added Files:
src/tools/dtc: Makefile
Log Message:
tools build glue.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/tools/dtc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/tools/dtc/Makefile
diff -u /dev/null src/tools/dtc/Makefile:1.1
--- /dev/null Mon Jun 5 18:44:40 2017
+++ src/tools/dtc/Makefile Mon Jun 5 18:44:40 2017
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2017/06/05 22:44:40 christos Exp $
+
+NOMAN= # defined
+
+.include <bsd.own.mk>
+
+HOSTPROGNAME= ${_TOOL_PREFIX}dtc
+HOST_SRCDIR= external/gpl2/dtc/usr.bin/dtc
+
+FDTOBJ!= cd ${.CURDIR}/../libfdt && ${PRINTOBJDIR}
+LDADD+= -L${FDTOBJ} -lfdt
+
+.include "${.CURDIR}/../Makefile.nbincludes"
+.include "${.CURDIR}/../Makefile.host"