Changeset View
Changeset View
Standalone View
Standalone View
head/stand/efi/loader/Makefile
Show All 21 Lines | SRCS= autoload.c \ | ||||
framebuffer.c \ | framebuffer.c \ | ||||
main.c \ | main.c \ | ||||
self_reloc.c \ | self_reloc.c \ | ||||
vers.c | vers.c | ||||
CFLAGS+= -I${.CURDIR}/../loader | CFLAGS+= -I${.CURDIR}/../loader | ||||
.if ${MK_LOADER_ZFS} != "no" | .if ${MK_LOADER_ZFS} != "no" | ||||
CFLAGS+= -I${ZFSSRC} | CFLAGS+= -I${ZFSSRC} | ||||
CFLAGS+= -I${SYSDIR}/contrib/openzfs/include | |||||
CFLAGS+= -I${SYSDIR}/contrib/openzfs/include/os/freebsd/zfs | |||||
CFLAGS+= -DEFI_ZFS_BOOT | CFLAGS+= -DEFI_ZFS_BOOT | ||||
HAVE_ZFS= yes | HAVE_ZFS= yes | ||||
.endif | .endif | ||||
# We implement a slightly non-standard %S in that it always takes a | # We implement a slightly non-standard %S in that it always takes a | ||||
# CHAR16 that's common in UEFI-land instead of a wchar_t. This only | # CHAR16 that's common in UEFI-land instead of a wchar_t. This only | ||||
# seems to matter on arm64 where wchar_t defaults to an int instead | # seems to matter on arm64 where wchar_t defaults to an int instead | ||||
# of a short. There's no good cast to use here so just ignore the | # of a short. There's no good cast to use here so just ignore the | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |