Fix EFI loader build when LOADER_NET_SUPPORT=no.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Ruslan Bukin 2019-07-30 14:54:18 +00:00
parent 250cbedd1e
commit be4890f75e

View File

@ -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
};