Fix EFI loader build when LOADER_NET_SUPPORT=no.
Sponsored by: DARPA, AFRL
This commit is contained in:
parent
250cbedd1e
commit
be4890f75e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350444
@ -40,7 +40,9 @@ struct devsw *devsw[] = {
|
|||||||
&efipart_cddev,
|
&efipart_cddev,
|
||||||
&efipart_hddev,
|
&efipart_hddev,
|
||||||
&efihttp_dev, /* ordering with efinet_dev matters */
|
&efihttp_dev, /* ordering with efinet_dev matters */
|
||||||
|
#if defined(LOADER_NET_SUPPORT)
|
||||||
&efinet_dev,
|
&efinet_dev,
|
||||||
|
#endif
|
||||||
&vdisk_dev,
|
&vdisk_dev,
|
||||||
#ifdef EFI_ZFS_BOOT
|
#ifdef EFI_ZFS_BOOT
|
||||||
&zfs_dev,
|
&zfs_dev,
|
||||||
@ -64,7 +66,9 @@ struct fs_ops *file_system[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct netif_driver *netif_drivers[] = {
|
struct netif_driver *netif_drivers[] = {
|
||||||
|
#if defined(LOADER_NET_SUPPORT)
|
||||||
&efinetif,
|
&efinetif,
|
||||||
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user