summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-04-25 00:41:10 +0200
committerGerd Hoffmann2021-05-04 08:38:23 +0200
commit9c3c834bdda5ca6d58c0e61508737683d12968b5 (patch)
treefb9bfcc25adfaea88177e24943acdbd2ebc27545 /MAINTAINERS
parenthw/usb/host-stub: Remove unused header (diff)
downloadqemu-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--MAINTAINERS1
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