diff options
author | Philippe Mathieu-Daudé | 2021-04-25 00:41:10 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2021-05-04 08:38:23 +0200 |
commit | 9c3c834bdda5ca6d58c0e61508737683d12968b5 (patch) | |
tree | fb9bfcc25adfaea88177e24943acdbd2ebc27545 /MAINTAINERS | |
parent | hw/usb/host-stub: Remove unused header (diff) | |
download | qemu-9c3c834bdda5ca6d58c0e61508737683d12968b5.tar.gz qemu-9c3c834bdda5ca6d58c0e61508737683d12968b5.tar.xz qemu-9c3c834bdda5ca6d58c0e61508737683d12968b5.zip |
hw/usb: Do not build USB subsystem if not required
If the Kconfig 'USB' value is not selected, it is pointless to
build the USB core components. Add a stub for the HMP commands
and usbdevice_create() which is called by usb_device_add in
softmmu/vl.c.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210424224110.3442424-3-f4bug@amsat.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 4c05ff8bba..6f7e5db3b1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1804,6 +1804,7 @@ USB M: Gerd Hoffmann <kraxel@redhat.com> S: Maintained F: hw/usb/* +F: stubs/usb-dev-stub.c F: tests/qtest/usb-*-test.c F: docs/usb2.txt F: docs/usb-storage.txt |