[build] Allow extra objects to be included in an all-drivers build
authorMichael Brown <mcb30@ipxe.org>
Thu, 17 Dec 2015 13:45:35 +0000 (13:45 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 17 Dec 2015 13:54:51 +0000 (13:54 +0000)
commit91dd5524b762e2438cc6a949dd1440ee0998f5ef
treef0101d47b8ddcfaf137dc7ee1354166a6dca811c
parente3012f99492cc6be331f3f740e5a38e7920bc42c
[build] Allow extra objects to be included in an all-drivers build

The build system allows for additional drivers (or other objects) to
be specified using build targets such as

  make bin/intel--realtek.usb
  make bin/8086100e--8086100f.mrom

This currently fails if the base target is the "bin/ipxe.*" all-drivers
target, e.g.

  make bin/ipxe--acm.usb

Fix the build target parsing logic to allow additional drivers (or
other objects) to be included on top of the base all-drivers target.

This can be used to include USB network card drivers, which are not
yet included by default in the all-drivers build.

Reported-by: Andrew Sloma <asloma@lenovo.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping