Philippe Mathieu-Daudé 9c3c834bdd 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>
2021-05-04 08:38:23 +02:00
..
2020-12-10 12:15:18 -05:00
2021-04-30 11:16:51 +01:00
2021-03-10 13:57:31 +00:00
2021-04-30 11:16:51 +01:00
2021-03-18 09:22:55 +00:00
2021-03-19 18:01:17 +00:00
2021-01-08 15:13:38 +00:00
2021-03-15 21:03:06 +01:00
2020-12-10 12:15:08 -05:00
2020-08-21 06:30:25 -04:00
2021-04-06 07:11:36 -04:00
2020-08-27 14:04:55 -04:00
2021-04-30 11:16:51 +01:00
2021-04-30 11:16:51 +01:00
2020-12-10 12:15:08 -05:00
2021-03-18 09:22:55 +00:00
2020-08-21 06:30:33 -04:00
2021-02-05 08:52:58 -05:00
2020-08-21 06:30:33 -04:00