aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-10-09 22:12:39 +0000
committerWarner Losh <imp@FreeBSD.org>2017-10-09 22:12:39 +0000
commit0b2c7b3f7ea46a391f195b16a8dd5bc9d35a83b2 (patch)
tree87d80722ad0813ef933dd57bb6f09dc63b91682a /sys/boot
parenteca8b9c449d522adf5c683b7fd09e562daa53161 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/Makefile.ficl2
-rw-r--r--sys/boot/fdt/Makefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/Makefile.ficl b/sys/boot/Makefile.ficl
index ef9a11de347a..31c605daf1e2 100644
--- a/sys/boot/Makefile.ficl
+++ b/sys/boot/Makefile.ficl
@@ -27,7 +27,7 @@ CFLAGS+= -m32 -mcpu=powerpc -I.
.endif
CFLAGS+= -I${FICLDIR} -I${FICLDIR}/${FICL_CPUARCH} \
- -I${FICLDIR}/../common
+ -I${FICLDIR}/../common -I${SASRC}
.if ${MACHINE_CPUARCH} == "amd64" && defined(FICL32)
.if !exists(machine)
diff --git a/sys/boot/fdt/Makefile b/sys/boot/fdt/Makefile
index ce11dbb42f84..e544dbcca3d8 100644
--- a/sys/boot/fdt/Makefile
+++ b/sys/boot/fdt/Makefile
@@ -12,6 +12,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${SASRC}
CFLAGS+= -I${.CURDIR}/../../contrib/libfdt/ -I${.CURDIR}/../common/
CFLAGS+= -ffreestanding