[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:
+6
-3
@@ -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
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user