mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 00:07:27 +03:00
[build] Use REQUIRE_OBJECT() to drag in per-object configuration
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -2826,3 +2826,6 @@ struct errortab common_wireless_errors[] __errortab = {
|
||||
__einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_DENIED ),
|
||||
__einfo_errortab ( EINFO_ECONNREFUSED_AUTH_ALGO_UNSUPP ),
|
||||
};
|
||||
|
||||
/* Drag in 802.11 configuration */
|
||||
REQUIRE_OBJECT ( config_net80211 );
|
||||
|
||||
@@ -239,5 +239,8 @@ struct net_device * alloc_etherdev ( size_t priv_size ) {
|
||||
return netdev;
|
||||
}
|
||||
|
||||
/* Drag in Ethernet configuration */
|
||||
REQUIRE_OBJECT ( config_ethernet );
|
||||
|
||||
/* Drag in Ethernet slow protocols */
|
||||
REQUIRE_OBJECT ( eth_slow );
|
||||
|
||||
@@ -1939,3 +1939,6 @@ struct fc_ulp * fc_ulp_get_port_id_type ( struct fc_port *port,
|
||||
err_peer_get_wwn:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Drag in Fibre Channel configuration */
|
||||
REQUIRE_OBJECT ( config_fc );
|
||||
|
||||
@@ -999,5 +999,8 @@ struct ib_device * last_opened_ibdev ( void ) {
|
||||
return ibdev;
|
||||
}
|
||||
|
||||
/* Drag in Infiniband configuration */
|
||||
REQUIRE_OBJECT ( config_infiniband );
|
||||
|
||||
/* Drag in IPoIB */
|
||||
REQUIRE_OBJECT ( ipoib );
|
||||
|
||||
Reference in New Issue
Block a user