diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-04-22 12:14:16 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-04-22 12:21:14 +0100 |
commit | dc19e630cb44b8ee313ac4b3852d92fcdf050dfc (patch) | |
tree | 6a33fb379d43f2b3cbcba8af65dee58d04c4d1dc /src/arch/x86/Makefile | |
parent | 2154af0077b9257f63e433ba1f07a84f9ce546eb (diff) | |
download | ipxe-dc19e630cb44b8ee313ac4b3852d92fcdf050dfc.tar.gz |
[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>
Diffstat (limited to 'src/arch/x86/Makefile')
-rw-r--r-- | src/arch/x86/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/Makefile b/src/arch/x86/Makefile index 1751c0cda..98c49b98d 100644 --- a/src/arch/x86/Makefile +++ b/src/arch/x86/Makefile @@ -19,4 +19,4 @@ CFLAGS += -DNVALGRIND # Include Hyper-V driver in the all-drivers build # -DRIVERS += hyperv +DRIVERS_hyperv += hyperv |