mirror of
https://github.com/ipxe/ipxe
synced 2026-02-03 06:34:32 +03:00
[ethernet] Include AoE only for Ethernet builds
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -135,9 +135,6 @@ REQUIRE_OBJECT ( slam );
|
|||||||
#ifdef SANBOOT_PROTO_ISCSI
|
#ifdef SANBOOT_PROTO_ISCSI
|
||||||
REQUIRE_OBJECT ( iscsiboot );
|
REQUIRE_OBJECT ( iscsiboot );
|
||||||
#endif
|
#endif
|
||||||
#ifdef SANBOOT_PROTO_AOE
|
|
||||||
REQUIRE_OBJECT ( aoeboot );
|
|
||||||
#endif
|
|
||||||
#ifdef SANBOOT_PROTO_IB_SRP
|
#ifdef SANBOOT_PROTO_IB_SRP
|
||||||
REQUIRE_OBJECT ( ib_srpboot );
|
REQUIRE_OBJECT ( ib_srpboot );
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
23
src/config/config_ethernet.c
Normal file
23
src/config/config_ethernet.c
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU General Public License as
|
||||||
|
* published by the Free Software Foundation; either version 2, or (at
|
||||||
|
* your option) any later version.
|
||||||
|
*/
|
||||||
|
|
||||||
|
FILE_LICENCE ( GPL2_OR_LATER );
|
||||||
|
|
||||||
|
#include <config/general.h>
|
||||||
|
|
||||||
|
/** @file
|
||||||
|
*
|
||||||
|
* Ethernet configuration options
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Drag in Ethernet-specific protocols
|
||||||
|
*/
|
||||||
|
#ifdef SANBOOT_PROTO_AOE
|
||||||
|
REQUIRE_OBJECT ( aoeboot );
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user