[build] Include PCI drivers only in BIOS and UEFI builds

We currently have no PCI bus abstractions for Linux userspace or for
RISC-V SBI.  Limit PCI drivers to being included in the all-drivers
build only for BIOS and UEFI platforms.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2026-02-12 12:06:41 +00:00
parent 3f12b8b1cf
commit 25429d952d
3 changed files with 12 additions and 3 deletions
+5
View File
@@ -106,6 +106,11 @@ NON_AUTO_MEDIA += pdsk
$(Q)cp $< $@
$(Q)$(PADIMG) --blksize=1474560 $@
# Include PCI drivers in the all-drivers build
#
DRIVERS_ipxe += $(DRIVERS_pci_net)
DRIVERS_ipxe += $(DRIVERS_pci_infiniband)
# Include Xen and Hyper-V drivers in the all-drivers build
#
DRIVERS_ipxe += $(DRIVERS_xenbus_net)