Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/loader/Makefile
Show All 30 Lines | |||||
CFLAGS+= -DEFI_ZFS_BOOT | CFLAGS+= -DEFI_ZFS_BOOT | ||||
HAVE_ZFS= yes | HAVE_ZFS= yes | ||||
.endif | .endif | ||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201 | .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201 | ||||
CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized | CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized | ||||
.endif | .endif | ||||
.if ${MK_SECUREBOOT} == "yes" | |||||
SRCS+= verify.c | |||||
CFLAGS+= -DSECURE_BOOT | |||||
.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 | ||||
# warnings for now. | # warnings for now. | ||||
CWARNFLAGS.main.c+= -Wno-format | CWARNFLAGS.main.c+= -Wno-format | ||||
.PATH: ${.CURDIR}/../loader | .PATH: ${.CURDIR}/../loader | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |