hw/usb: Include USB files only if necessary
commit8ffd9f4dd41f0423f0df8bef8f2e25ab4bb1a3f3
authorThomas Huth <thuth@linux.vnet.ibm.com>
Tue, 17 Mar 2015 13:52:54 +0000 (17 14:52 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 18 Mar 2015 10:50:47 +0000 (18 11:50 +0100)
tree33bca709743e95fb3dca9fc1fb1bb703087cafec
parentc326529b74aa37adb216604bb6ca93cd49007012
hw/usb: Include USB files only if necessary

Boards that do not include an USB controller should not provide
USB devices. However, when running "qemu-system-s390x -device help"
for example, there's still a usb-hub, usb-kbd, usb-mouse and
usb-tablet in the list of "supported" devices. Let's fix that
by compiling and linking the USB files only if it is really
necessary.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
default-configs/arm-softmmu.mak
default-configs/usb.mak
hw/usb/Makefile.objs