boot1.c needs EFI_ZFS_BOOT too, so add it globally. Otherwise we'll

not be able to actually read ZFS partitions.

Submitted by: kevans@
This commit is contained in:
imp 2017-12-08 19:57:26 +00:00
parent 1ccac298ac
commit 21b0ba1a44

View File

@ -34,7 +34,7 @@ SRCS+= zfs_module.c
CFLAGS.zfs_module.c+= -I${ZFSSRC}
CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/boot/zfs
CFLAGS.zfs_module.c+= -I${SYSDIR}/crypto/skein
CFLAGS.zfs_module.c+= -DEFI_ZFS_BOOT
CFLAGS+= -DEFI_ZFS_BOOT
LIBZFSBOOT= ${BOOTOBJ}/zfs/libzfsboot.a
.endif