]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Construct all-drivers list based on driver class
authorMichael Brown <mcb30@ipxe.org>
Wed, 22 Apr 2015 11:14:16 +0000 (12:14 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 22 Apr 2015 11:21:14 +0000 (12:21 +0100)
commitdc19e630cb44b8ee313ac4b3852d92fcdf050dfc
tree6a33fb379d43f2b3cbcba8af65dee58d04c4d1dc
parent2154af0077b9257f63e433ba1f07a84f9ce546eb
[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>
src/Makefile.housekeeping
src/arch/x86/Makefile
src/arch/x86/Makefile.efi
src/util/parserom.pl