summaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-10-22 22:52:27 +0000
committerWarner Losh <imp@FreeBSD.org>2017-10-22 22:52:27 +0000
commit6c458a6a56f3e8563595e7fc7c5ff79d5bc6b143 (patch)
treed704573908af32a626f7c593db5248e203bb72e1 /sys/boot
parentc02a64d8beae07b66e42ea0d2e303ce411f006a0 (diff)
downloadsrc-test2-6c458a6a56f3e8563595e7fc7c5ff79d5bc6b143.tar.gz
src-test2-6c458a6a56f3e8563595e7fc7c5ff79d5bc6b143.zip
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/fdt/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/boot/fdt/Makefile b/sys/boot/fdt/Makefile
index ce11dbb42f84..d0d0a58867ee 100644
--- a/sys/boot/fdt/Makefile
+++ b/sys/boot/fdt/Makefile
@@ -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