Fix EFI loader build when LOADER_NET_SUPPORT=no.
Sponsored by: DARPA, AFRL
This commit is contained in:
parent
250cbedd1e
commit
be4890f75e
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user