Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/boot1/Makefile
Show All 23 Lines | |||||
# architecture-specific loader code | # architecture-specific loader code | ||||
SRCS= boot1.c self_reloc.c start.S ufs_module.c | SRCS= boot1.c self_reloc.c start.S ufs_module.c | ||||
.if ${MK_ZFS} != "no" | .if ${MK_ZFS} != "no" | ||||
SRCS+= zfs_module.c | SRCS+= zfs_module.c | ||||
CFLAGS.zfs_module.c+= -I${ZFSSRC} | CFLAGS.zfs_module.c+= -I${ZFSSRC} | ||||
CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/boot/zfs | CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/boot/zfs | ||||
CFLAGS.zfs_module.c+= -I${SYSDIR}/crypto/skein | CFLAGS.zfs_module.c+= -I${SYSDIR}/crypto/skein | ||||
CFLAGS+= -I${SYSDIR}/contrib/zstd/lib | |||||
CFLAGS+= -DEFI_ZFS_BOOT | CFLAGS+= -DEFI_ZFS_BOOT | ||||
.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 | ||||
CFLAGS+= -I${EFIINC} | CFLAGS+= -I${EFIINC} | ||||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |