Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/libefi/Makefile
Show All 21 Lines | SRCS= delay.c \ | ||||
wchar.c | wchar.c | ||||
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" | .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" | ||||
SRCS+= time.c | SRCS+= time.c | ||||
.elif ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" | .elif ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" | ||||
SRCS+= time_event.c | SRCS+= time_event.c | ||||
.endif | .endif | ||||
.if ${MK_SECUREBOOT} == "yes" | |||||
SRCS+= efisecureboot.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.efinet.c+= -Wno-format | CWARNFLAGS.efinet.c+= -Wno-format | ||||
CWARNFLAGS.efipart.c+= -Wno-format | CWARNFLAGS.efipart.c+= -Wno-format | ||||
CWARNFLAGS.env.c+= -Wno-format | CWARNFLAGS.env.c+= -Wno-format | ||||
Show All 26 Lines |