[build] Use REQUIRE_OBJECT() to drag in per-object configuration

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2015-03-05 00:57:44 +00:00
parent 04c1ea8170
commit 86ae6e6c18
11 changed files with 21 additions and 77 deletions
+3
View File
@@ -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 );