[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-04 17:22:07 +00:00
parent 04c1ea8170
commit 86ae6e6c18
11 changed files with 21 additions and 77 deletions

View File

@@ -1903,5 +1903,8 @@ struct usb_port * usb_root_hub_port ( struct usb_device *usb ) {
return usb->port;
}
/* Drag in USB configuration */
REQUIRE_OBJECT ( config_usb );
/* Drag in hub driver */
REQUIRE_OBJECT ( usbhub );