svn commit: r324883 - head/sys/boot/fdt
Warner Losh
imp at FreeBSD.org
Sun Oct 22 22:52:29 UTC 2017
Author: imp
Date: Sun Oct 22 22:52:27 2017
New Revision: 324883
URL: https://svnweb.freebsd.org/changeset/base/324883
Log:
Use preferred defined paths, rather than relative paths in fdt.
Sponsored by: Netflix
Modified:
head/sys/boot/fdt/Makefile
Modified: head/sys/boot/fdt/Makefile
==============================================================================
--- head/sys/boot/fdt/Makefile Sun Oct 22 22:52:23 2017 (r324882)
+++ head/sys/boot/fdt/Makefile Sun Oct 22 22:52:27 2017 (r324883)
@@ -1,7 +1,9 @@
# $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
# 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
More information about the svn-src-all
mailing list