Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/libefi/Makefile
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
CFLAGS+= -fPIC -mno-red-zone | CFLAGS+= -fPIC -mno-red-zone | ||||
.endif | .endif | ||||
CFLAGS+= -I${EFIINC} | CFLAGS+= -I${EFIINC} | ||||
CFLAGS+= -I${EFIINCMD} | CFLAGS+= -I${EFIINCMD} | ||||
CFLAGS.efi_console.c+= -I${SRCTOP}/sys/teken | CFLAGS.efi_console.c+= -I${SRCTOP}/sys/teken | ||||
CFLAGS.teken.c+= -I${SRCTOP}/sys/teken | CFLAGS.teken.c+= -I${SRCTOP}/sys/teken | ||||
.if ${MK_LOADER_ZFS} != "no" | .if ${MK_LOADER_ZFS} != "no" | ||||
CFLAGS+= -I${ZFSSRC} | CFLAGS+= -I${ZFSSRC} | ||||
CFLAGS+= -I${SYSDIR}/cddl/boot/zfs | |||||
CFLAGS+= -I${SYSDIR}/cddl/contrib/opensolaris/uts/common | |||||
CFLAGS+= -DEFI_ZFS_BOOT | CFLAGS+= -DEFI_ZFS_BOOT | ||||
.endif | .endif | ||||
# Pick up the bootstrap header for some interface items | # Pick up the bootstrap header for some interface items | ||||
CFLAGS+= -I${LDRSRC} | CFLAGS+= -I${LDRSRC} | ||||
# Handle FreeBSD specific %b and %D printf format specifiers | # Handle FreeBSD specific %b and %D printf format specifiers | ||||
CFLAGS+= ${FORMAT_EXTENSIONS} | CFLAGS+= ${FORMAT_EXTENSIONS} | ||||
# Do not use TERM_EMU on arm and arm64 as it doesn't behave well with serial console | # Do not use TERM_EMU on arm and arm64 as it doesn't behave well with serial console | ||||
.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "aarch64" | .if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "aarch64" | ||||
CFLAGS+= -DTERM_EMU | CFLAGS+= -DTERM_EMU | ||||
.endif | .endif | ||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> |