mirror of
https://github.com/ipxe/ipxe
synced 2026-01-20 16:39:14 +03:00
[pci] Drag in PCI commands only when PCI support is present
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -270,9 +270,6 @@ REQUIRE_OBJECT ( shell );
|
||||
#ifdef NSLOOKUP_CMD
|
||||
REQUIRE_OBJECT ( nslookup_cmd );
|
||||
#endif
|
||||
#ifdef PCI_CMD
|
||||
REQUIRE_OBJECT ( pci_cmd );
|
||||
#endif
|
||||
#ifdef PARAM_CMD
|
||||
REQUIRE_OBJECT ( param_cmd );
|
||||
#endif
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( PERMITTED );
|
||||
|
||||
#include <config/general.h>
|
||||
#include <config/settings.h>
|
||||
#include <config/ioapi.h>
|
||||
|
||||
@@ -33,6 +34,9 @@ FILE_SECBOOT ( PERMITTED );
|
||||
|
||||
PROVIDE_REQUIRING_SYMBOL();
|
||||
|
||||
#ifdef PCI_CMD
|
||||
REQUIRE_OBJECT ( pci_cmd );
|
||||
#endif
|
||||
#ifdef PCI_SETTINGS
|
||||
REQUIRE_OBJECT ( pci_settings );
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user