Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/libfdt Add libfdt
details: https://anonhg.NetBSD.org/src/rev/bf38f801fe37
branches: trunk
changeset: 354177:bf38f801fe37
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Jun 06 07:45:39 2017 +0000
description:
Add libfdt
diffstat:
tools/libfdt/Makefile | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r 17848eed5caf -r bf38f801fe37 tools/libfdt/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/libfdt/Makefile Tue Jun 06 07:45:39 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/06/06 07:45:39 skrll Exp $
+
+HOSTLIB= fdt
+
+.include <bsd.own.mk>
+
+LIBFDT_DIR= ${.CURDIR}/../../external/gpl2/dtc/dist/libfdt
+
+.include "${LIBFDT_DIR}/Makefile.libfdt"
+
+SRCS= ${LIBFDT_SRCS}
+
+CPPFLAGS+= -I${.CURDIR}/../compat -I${LIBFDT_DIR}
+CPPFLAGS+= -I${TOOLDIR}/include/nbinclude
+
+.PATH: ${LIBFDT_DIR}
+
+CPPFLAGS+= -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
+
+HOST_CPPFLAGS:= ${CPPFLAGS} ${HOST_CPPFLAGS}
+CPPFLAGS:= # empty
+
+.include "${.CURDIR}/../Makefile.nbincludes"
+.include <bsd.hostlib.mk>
Home |
Main Index |
Thread Index |
Old Index