david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[infiniband] Include SRP by default, but only for Infiniband builds

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2010-09-12 21:44:48 +01:00
parent 588ba3ee9a
commit 50da1122e6
3 changed files with 24 additions and 3 deletions

View File

@ -135,9 +135,6 @@ REQUIRE_OBJECT ( slam );
#ifdef SANBOOT_PROTO_ISCSI
REQUIRE_OBJECT ( iscsiboot );
#endif
#ifdef SANBOOT_PROTO_IB_SRP
REQUIRE_OBJECT ( ib_srpboot );
#endif
/*
* Drag in all requested resolvers

View 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
*
* Infiniband configuration options
*
*/
/*
* Drag in Infiniband-specific protocols
*/
#ifdef SANBOOT_PROTO_IB_SRP
REQUIRE_OBJECT ( ib_srpboot );
#endif

View File

@ -31,5 +31,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define SANBOOT_PROTO_ISCSI /* iSCSI protocol */
#define SANBOOT_PROTO_AOE /* AoE protocol */
#define SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
#endif /* CONFIG_DEFAULTS_PCBIOS_H */