mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 01:52:39 +03:00
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>
23 lines
499 B
Makefile
23 lines
499 B
Makefile
# Include common x86 headers
|
|
#
|
|
INCDIRS += arch/x86/include
|
|
|
|
# x86-specific directories containing source files
|
|
#
|
|
SRCDIRS += arch/x86/core
|
|
SRCDIRS += arch/x86/interface/efi
|
|
SRCDIRS += arch/x86/prefix
|
|
SRCDIRS += arch/x86/hci/commands
|
|
SRCDIRS += arch/x86/drivers/xen
|
|
SRCDIRS += arch/x86/drivers/hyperv
|
|
|
|
# breaks building some of the linux-related objects
|
|
CFLAGS += -Ulinux
|
|
|
|
# disable valgrind
|
|
CFLAGS += -DNVALGRIND
|
|
|
|
# Include Hyper-V driver in the all-drivers build
|
|
#
|
|
DRIVERS_hyperv += hyperv
|