[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/10] hw/core: Restrict sysemu specific files
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 02/10] hw/core: Restrict sysemu specific files |
Date: |
Mon, 1 Nov 2021 19:42:51 +0100 |
All these files don't make sense for tools and user emulation,
restrict them to system emulation.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>
Tested-by: Yanan Wang <wangyanan55@huawei.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20211028150521.1973821-2-philmd@redhat.com>
---
hw/core/meson.build | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/hw/core/meson.build b/hw/core/meson.build
index 86f26f0a60f..6af4c5c5cbc 100644
--- a/hw/core/meson.build
+++ b/hw/core/meson.build
@@ -14,15 +14,15 @@
)
common_ss.add(files('cpu-common.c'))
-common_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))
-common_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true:
files('generic-loader.c'))
-common_ss.add(when: ['CONFIG_GUEST_LOADER', fdt], if_true:
files('guest-loader.c'))
-common_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c'))
-common_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c'))
-common_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
-common_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
-common_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
-common_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
+softmmu_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))
+softmmu_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true:
files('generic-loader.c'))
+softmmu_ss.add(when: ['CONFIG_GUEST_LOADER', fdt], if_true:
files('guest-loader.c'))
+softmmu_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c'))
+softmmu_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c'))
+softmmu_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
+softmmu_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
+softmmu_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
+softmmu_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
softmmu_ss.add(files(
'cpu-sysemu.c',
--
2.31.1
- [PULL 00/10] Machine-next patches for 2021-11-01, Philippe Mathieu-Daudé, 2021/11/01
- [PULL 01/10] machine: Move gpio code to hw/core/gpio.c, Philippe Mathieu-Daudé, 2021/11/01
- [PULL 02/10] hw/core: Restrict sysemu specific files,
Philippe Mathieu-Daudé <=
- [PULL 03/10] hw/core: Declare meson source set, Philippe Mathieu-Daudé, 2021/11/01
- [PULL 04/10] hw/core: Extract hotplug-related functions to qdev-hotplug.c, Philippe Mathieu-Daudé, 2021/11/01
- [PULL 05/10] hw/core: Restrict hotplug to system emulation, Philippe Mathieu-Daudé, 2021/11/01
- [PULL 06/10] hw/core/machine: Split out the smp parsing code, Philippe Mathieu-Daudé, 2021/11/01
- [PULL 07/10] tests/unit: Add an unit test for smp parsing, Philippe Mathieu-Daudé, 2021/11/01
- [PULL 08/10] machine: add device_type_is_dynamic_sysbus function, Philippe Mathieu-Daudé, 2021/11/01
- [PULL 09/10] qdev-monitor: Check sysbus device type before creating it, Philippe Mathieu-Daudé, 2021/11/01
- [PULL 10/10] machine: remove the done notifier for dynamic sysbus device type check, Philippe Mathieu-Daudé, 2021/11/01
- Re: [PULL 00/10] Machine-next patches for 2021-11-01, Richard Henderson, 2021/11/02