[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 7/7] hw/usb: Mark the XLNX_VERSAL-related files as target-indepen
From: |
Thomas Huth |
Subject: |
[PATCH 7/7] hw/usb: Mark the XLNX_VERSAL-related files as target-independent |
Date: |
Thu, 12 Jan 2023 14:49:28 +0100 |
Seems like there is nothing target-specific in here, so these files
can be moved to softmmu_ss to avoid that they get compiled twice
(once for qemu-system-arm and once for qemu-system-aarch64).
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/usb/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/usb/meson.build b/hw/usb/meson.build
index 793df42e21..bdf34cbd3e 100644
--- a/hw/usb/meson.build
+++ b/hw/usb/meson.build
@@ -30,8 +30,8 @@ softmmu_ss.add(when: 'CONFIG_TUSB6010', if_true:
files('tusb6010.c'))
softmmu_ss.add(when: 'CONFIG_IMX', if_true: files('chipidea.c'))
softmmu_ss.add(when: 'CONFIG_IMX_USBPHY', if_true: files('imx-usb-phy.c'))
softmmu_ss.add(when: 'CONFIG_VT82C686', if_true: files('vt82c686-uhci-pci.c'))
-specific_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true:
files('xlnx-versal-usb2-ctrl-regs.c'))
-specific_ss.add(when: 'CONFIG_XLNX_USB_SUBSYS', if_true:
files('xlnx-usb-subsystem.c'))
+softmmu_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true:
files('xlnx-versal-usb2-ctrl-regs.c'))
+softmmu_ss.add(when: 'CONFIG_XLNX_USB_SUBSYS', if_true:
files('xlnx-usb-subsystem.c'))
# emulated usb devices
softmmu_ss.add(when: 'CONFIG_USB', if_true: files('dev-hub.c'))
--
2.31.1
- [PATCH 0/7] Trivial: Mark some more files as target-independant, Thomas Huth, 2023/01/12
- [PATCH 1/7] hw/display: Move omap_lcdc.c out of target-specific source set, Thomas Huth, 2023/01/12
- [PATCH 2/7] hw/intc: Move some files out of the target-specific source set, Thomas Huth, 2023/01/12
- [PATCH 3/7] hw/tpm: Move tpm_ppi.c out of target-specific source set, Thomas Huth, 2023/01/12
- [PATCH 4/7] hw/arm: Move various units to softmmu_ss[], Thomas Huth, 2023/01/12
- [PATCH 6/7] hw/intc: Mark more interrupt-controller files as target independent, Thomas Huth, 2023/01/12
- [PATCH 5/7] hw/cpu: Mark arm11 and realview mpcore as target-independent code, Thomas Huth, 2023/01/12
- [PATCH 7/7] hw/usb: Mark the XLNX_VERSAL-related files as target-independent,
Thomas Huth <=
- Re: [PATCH 0/7] Trivial: Mark some more files as target-independant, Richard Henderson, 2023/01/13
- Re: [PATCH 0/7] Trivial: Mark some more files as target-independant, Laurent Vivier, 2023/01/16