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:
Warner Losh 2017-12-08 19:57:26 +00:00
parent ac20456c39
commit f0408ed054
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326714

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