Use preferred defined paths, rather than relative paths in fdt.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-10-22 22:52:27 +00:00
parent c02a64d8be
commit 6c458a6a56
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324883

View File

@ -1,6 +1,8 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/libfdt/
.include <bsd.init.mk>
.PATH: ${SYSDIR}/contrib/libfdt/
LIB= fdt
INTERNALLIB=
@ -12,7 +14,7 @@ SRCS+= fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c \
# Loader's fdt commands extension sources.
SRCS+= fdt_loader_cmd.c fdt_overlay.c
CFLAGS+= -I${.CURDIR}/../../contrib/libfdt/ -I${.CURDIR}/../common/
CFLAGS+= -I${SYSDIR}/contrib/libfdt/ -I${BOOTSRC}/common/
CFLAGS+= -ffreestanding