mirror of https://github.com/xemu-project/xemu.git
hw/usb: move stubs out of stubs/
Since the USB stubs are needed exactly when the Kconfig symbols are not enabled, they can be placed in hw/usb/ and conditionalized on CONFIG_USB. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20240408155330.522792-11-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d4d0ebb7da
commit
89857312f3
|
@ -9,7 +9,7 @@ system_ss.add(when: 'CONFIG_USB', if_true: files(
|
||||||
'desc-msos.c',
|
'desc-msos.c',
|
||||||
'libhw.c',
|
'libhw.c',
|
||||||
'pcap.c',
|
'pcap.c',
|
||||||
))
|
), if_false: files('bus-stub.c'))
|
||||||
|
|
||||||
# usb host adapters
|
# usb host adapters
|
||||||
system_ss.add(when: 'CONFIG_USB_UHCI', if_true: files('hcd-uhci.c'))
|
system_ss.add(when: 'CONFIG_USB_UHCI', if_true: files('hcd-uhci.c'))
|
||||||
|
|
|
@ -56,7 +56,6 @@ endif
|
||||||
if have_system
|
if have_system
|
||||||
stub_ss.add(files('fw_cfg.c'))
|
stub_ss.add(files('fw_cfg.c'))
|
||||||
stub_ss.add(files('semihost.c'))
|
stub_ss.add(files('semihost.c'))
|
||||||
stub_ss.add(files('usb-dev-stub.c'))
|
|
||||||
stub_ss.add(files('xen-hw-stub.c'))
|
stub_ss.add(files('xen-hw-stub.c'))
|
||||||
stub_ss.add(files('virtio-md-pci.c'))
|
stub_ss.add(files('virtio-md-pci.c'))
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue