NetBSD/tools/dtc/Makefile

16 lines
421 B
Makefile

# $NetBSD: Makefile,v 1.5 2018/05/01 19:59:46 christos Exp $
.include <bsd.hostinit.mk>
LIBFDT_DIR= ${.CURDIR}/../../sys/external/bsd/libfdt/dist
HOST_CPPFLAGS+= -I${LIBFDT_DIR}
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"