Author: imp
Date: Fri Dec  8 19:57:26 2017
New Revision: 326714
URL: https://svnweb.freebsd.org/changeset/base/326714

Log:
  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@

Modified:
  head/stand/efi/boot1/Makefile

Modified: head/stand/efi/boot1/Makefile
==============================================================================
--- head/stand/efi/boot1/Makefile       Fri Dec  8 19:57:21 2017        
(r326713)
+++ head/stand/efi/boot1/Makefile       Fri Dec  8 19:57:26 2017        
(r326714)
@@ -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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to