Date: Tue, 30 Jul 2019 14:54:18 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r350444 - head/stand/efi/loader Message-ID: <201907301454.x6UEsIVC045133@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907301454.x6UEsIVC045133>