[build] Use REQUIRE_OBJECT() to drag in per-object configuration
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user