[build] Construct driver lists for each bus type

Include the underlying bus type (e.g. "pci" or "isa") within the lists
constructed to describe the available drivers, to allow for the
possibility that platforms may want to define a platform-specific
subset of drivers to be present in the all-drivers build.  For
example, non-x86 platforms such as RISC-V SBI do not need to include
the ISA network drivers since the corresponding hardware cannot ever
be present on a RISC-V system.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2026-02-11 17:10:57 +00:00
parent 1523512198
commit e783adcfd4
3 changed files with 14 additions and 9 deletions
+6 -3
View File
@@ -243,12 +243,15 @@ version :
# All drivers (excluding USB)
#
DRIVERS_ipxe = $(DRIVERS_net) $(DRIVERS_infiniband) \
$(DRIVERS_xen) $(DRIVERS_hyperv)
DRIVERS_ipxe += $(DRIVERS_isa_net)
DRIVERS_ipxe += $(DRIVERS_pci_net)
DRIVERS_ipxe += $(DRIVERS_pci_infiniband)
DRIVERS_ipxe += $(DRIVERS_pci_xen)
DRIVERS_ipxe += $(DRIVERS_hyperv)
# Raspberry Pi
#
DRIVERS_rpi = smsc95xx lan78xx
DRIVERS_rpi += smsc95xx lan78xx
###############################################################################
#