summary refs log tree commit diff stats
path: root/hw/core
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-10-28 16:34:19 +0200
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2021-11-01 19:44:11 +0100
commitf73fb063950b9da3a5869fe9ce396abf157c1d9f (patch)
tree9d37e17d89dc778885db512b9579da241b8a9b4c /hw/core
parentd675b44ecca6e660256a59800dda96b242b74afe (diff)
downloadfocaccia-qemu-f73fb063950b9da3a5869fe9ce396abf157c1d9f.tar.gz
focaccia-qemu-f73fb063950b9da3a5869fe9ce396abf157c1d9f.zip
hw/core: Declare meson source set
As we want to be able to conditionally add files to the hw/core
file list, use a source set.

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-3-philmd@redhat.com>
Diffstat (limited to 'hw/core')
-rw-r--r--hw/core/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/core/meson.build b/hw/core/meson.build
index 6af4c5c5cb..cc1ebb8e0f 100644
--- a/hw/core/meson.build
+++ b/hw/core/meson.build
@@ -1,5 +1,5 @@
 # core qdev-related obj files, also used by *-user and unit tests
-hwcore_files = files(
+hwcore_ss.add(files(
   'bus.c',
   'hotplug.c',
   'qdev-properties.c',
@@ -11,7 +11,7 @@ hwcore_files = files(
   'irq.c',
   'clock.c',
   'qdev-clock.c',
-)
+))
 
 common_ss.add(files('cpu-common.c'))
 softmmu_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))