diff options
author | Marc-André Lureau | 2019-08-17 11:55:58 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-08-21 12:30:33 +0200 |
commit | 2c44220d055d12142f27cf513848f17d6007ae35 (patch) | |
tree | 72593b21d3f6e20a325be46bfc05b69457e14244 /hw/sparc | |
parent | meson: convert hw/9pfs, cleanup (diff) | |
download | qemu-2c44220d055d12142f27cf513848f17d6007ae35.tar.gz qemu-2c44220d055d12142f27cf513848f17d6007ae35.tar.xz qemu-2c44220d055d12142f27cf513848f17d6007ae35.zip |
meson: convert hw/arch*
Each architecture's sourceset is placed in an hw_arch dictionary, and picked up
from there when building the per-emulator static_library.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/sparc')
-rw-r--r-- | hw/sparc/Makefile.objs | 3 | ||||
-rw-r--r-- | hw/sparc/meson.build | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/hw/sparc/Makefile.objs b/hw/sparc/Makefile.objs deleted file mode 100644 index d57e33f83e..0000000000 --- a/hw/sparc/Makefile.objs +++ /dev/null @@ -1,3 +0,0 @@ -obj-$(CONFIG_SUN4M) += sun4m_iommu.o -obj-$(CONFIG_SUN4M) += sun4m.o -obj-$(CONFIG_LEON3) += leon3.o diff --git a/hw/sparc/meson.build b/hw/sparc/meson.build new file mode 100644 index 0000000000..19c442c90d --- /dev/null +++ b/hw/sparc/meson.build @@ -0,0 +1,6 @@ +sparc_ss = ss.source_set() +sparc_ss.add(when: 'CONFIG_LEON3', if_true: files('leon3.c')) +sparc_ss.add(when: 'CONFIG_SUN4M', if_true: files('sun4m.c')) +sparc_ss.add(when: 'CONFIG_SUN4M', if_true: files('sun4m_iommu.c')) + +hw_arch += {'sparc': sparc_ss} |