svn commit: r350444 - head/stand/efi/loader

Ruslan Bukin br at FreeBSD.org
Tue Jul 30 14:54:19 UTC 2019


Author: br
Date: Tue Jul 30 14:54:18 2019
New Revision: 350444
URL: https://svnweb.freebsd.org/changeset/base/350444

Log:
  Fix EFI loader build when LOADER_NET_SUPPORT=no.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/stand/efi/loader/conf.c

Modified: head/stand/efi/loader/conf.c
==============================================================================
--- head/stand/efi/loader/conf.c	Tue Jul 30 14:21:00 2019	(r350443)
+++ head/stand/efi/loader/conf.c	Tue Jul 30 14:54:18 2019	(r350444)
@@ -40,7 +40,9 @@ struct devsw *devsw[] = {
 	&efipart_cddev,
 	&efipart_hddev,
 	&efihttp_dev, /* ordering with efinet_dev matters */
+#if defined(LOADER_NET_SUPPORT)
 	&efinet_dev,
+#endif
 	&vdisk_dev,
 #ifdef EFI_ZFS_BOOT
 	&zfs_dev,
@@ -64,7 +66,9 @@ struct fs_ops *file_system[] = {
 };
 
 struct netif_driver *netif_drivers[] = {
+#if defined(LOADER_NET_SUPPORT)
 	&efinetif,
+#endif
 	NULL
 };
 


More information about the svn-src-head mailing list