Hi No, this is linking-stage fix only. efinet.c, efihttp.c are still included to the build
I guess we could exclude them from compilation as it makes no sense Ruslan On Tue, Jul 30, 2019 at 07:00:34PM +0300, Toomas Soome wrote: > hi! > > efihttp is also using network, is it intentionally left untouched? > > rgds, > toomas > > > On 30 Jul 2019, at 17:54, Ruslan Bukin <b...@freebsd.org> wrote: > > > > 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 > > }; > > > > > > _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"