From f0408ed054ef74bbe52461a52efc647ed4739158 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 8 Dec 2017 19:57:26 +0000 Subject: [PATCH] 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@ --- stand/efi/boot1/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile index 5443b4296a63..7791b78650e8 100644 --- a/stand/efi/boot1/Makefile +++ b/stand/efi/boot1/Makefile @@ -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