aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/libefi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stand/efi/libefi/Makefile')
-rw-r--r--stand/efi/libefi/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/efi/libefi/Makefile b/stand/efi/libefi/Makefile
index 8ce57280d615..4f4586fbf253 100644
--- a/stand/efi/libefi/Makefile
+++ b/stand/efi/libefi/Makefile
@@ -47,13 +47,13 @@ CFLAGS+= -mgeneral-regs-only
.if ${MACHINE_ARCH} == "amd64"
CFLAGS+= -fPIC -mno-red-zone
.endif
-CFLAGS+= -I${EFIINC}
+CFLAGS+= -I${EFIINC} -I${EDK2INC}
CFLAGS+= -I${EFIINCMD}
CFLAGS.efi_console.c+= -I${SRCTOP}/sys/teken -I${SRCTOP}/contrib/pnglite
CFLAGS.efi_console.c+= -I${.CURDIR}/../loader
CFLAGS.teken.c+= -I${SRCTOP}/sys/teken
.if ${MK_LOADER_ZFS} != "no"
-CFLAGS+= -I${ZFSSRC}
+CFLAGS+= -I${SAZFSSRC}
CFLAGS+= -I${SYSDIR}/cddl/boot/zfs
CFLAGS+= -I${SYSDIR}/cddl/contrib/opensolaris/uts/common
CFLAGS+= -DEFI_ZFS_BOOT