mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +03:00
[build] Construct all-drivers list based on driver class
The USB bus drivers (ehci.c and xhci.c) have PCI device ID tables and hence PCI_ROM() lines, but should probably not be included in the all-drivers build on this basis, since they do nothing useful unless a USB network driver is also present. Fix by constructing the all-drivers list based on the driver class (i.e. the portion of the source path immediately after "drivers/"). Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -19,4 +19,4 @@ CFLAGS += -DNVALGRIND
|
||||
|
||||
# Include Hyper-V driver in the all-drivers build
|
||||
#
|
||||
DRIVERS += hyperv
|
||||
DRIVERS_hyperv += hyperv
|
||||
|
||||
@@ -17,7 +17,7 @@ NON_AUTO_MEDIA += efirom
|
||||
|
||||
# Include SNP driver in the all-drivers build
|
||||
#
|
||||
DRIVERS += snp
|
||||
DRIVERS_net += snp
|
||||
|
||||
# Rules for building EFI files
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user