aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/boot1/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-12-08 19:57:26 +0000
committerWarner Losh <imp@FreeBSD.org>2017-12-08 19:57:26 +0000
commitf0408ed054ef74bbe52461a52efc647ed4739158 (patch)
tree0ee9a25bbe26588d6870b965c0d52bdb434628a5 /stand/efi/boot1/Makefile
parentac20456c399a6b381b22d04fbdbf84cb12e9a148 (diff)
downloadsrc-f0408ed054ef74bbe52461a52efc647ed4739158.tar.gz
src-f0408ed054ef74bbe52461a52efc647ed4739158.zip
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@
Notes
Notes: svn path=/head/; revision=326714
Diffstat (limited to 'stand/efi/boot1/Makefile')
-rw-r--r--stand/efi/boot1/Makefile2
1 files changed, 1 insertions, 1 deletions
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