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>
#
# Predefined build shortcuts (for e.g. bin/ipxe.iso)
-# All drivers (excluding USB)
+# All drivers (defined on a per-platform basis)
#
-DRIVERS_ipxe += $(DRIVERS_pci_net)
-DRIVERS_ipxe += $(DRIVERS_pci_infiniband)
+DRIVERS_ipxe +=
# Raspberry Pi
#
NON_AUTO_MEDIA += drv.efi
NON_AUTO_MEDIA += efirom
+# Include PCI drivers in the all-drivers build
+#
+DRIVERS_ipxe += $(DRIVERS_pci_net)
+DRIVERS_ipxe += $(DRIVERS_pci_infiniband)
+
# Include SNP and MNP drivers in the all-drivers build
#
DRIVERS_efi_net += snp mnp
$(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)