diff options
| author | Paolo Bonzini | 2020-08-07 12:10:23 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2020-08-21 12:30:35 +0200 |
| commit | abff1abfe8113a989215ed33c48839a827e531f1 (patch) | |
| tree | fb31d57aff267871822d237052c264788664047e /target/alpha | |
| parent | meson: convert hw/arch* (diff) | |
| download | qemu-abff1abfe8113a989215ed33c48839a827e531f1.tar.gz qemu-abff1abfe8113a989215ed33c48839a827e531f1.tar.xz qemu-abff1abfe8113a989215ed33c48839a827e531f1.zip | |
meson: target
Similar to hw_arch, each architecture defines two sourceset which are placed in
dictionaries target_arch and target_softmmu_arch. These are then 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 'target/alpha')
| -rw-r--r-- | target/alpha/Makefile.objs | 4 | ||||
| -rw-r--r-- | target/alpha/meson.build | 18 |
2 files changed, 18 insertions, 4 deletions
diff --git a/target/alpha/Makefile.objs b/target/alpha/Makefile.objs deleted file mode 100644 index 63664629f6..0000000000 --- a/target/alpha/Makefile.objs +++ /dev/null @@ -1,4 +0,0 @@ -obj-$(CONFIG_SOFTMMU) += machine.o -obj-y += translate.o helper.o cpu.o -obj-y += int_helper.o fpu_helper.o vax_helper.o sys_helper.o mem_helper.o -obj-y += gdbstub.o diff --git a/target/alpha/meson.build b/target/alpha/meson.build new file mode 100644 index 0000000000..1aec55abb4 --- /dev/null +++ b/target/alpha/meson.build @@ -0,0 +1,18 @@ +alpha_ss = ss.source_set() +alpha_ss.add(files( + 'cpu.c', + 'fpu_helper.c', + 'gdbstub.c', + 'helper.c', + 'int_helper.c', + 'mem_helper.c', + 'sys_helper.c', + 'translate.c', + 'vax_helper.c', +)) + +alpha_softmmu_ss = ss.source_set() +alpha_softmmu_ss.add(files('machine.c')) + +target_arch += {'alpha': alpha_ss} +target_softmmu_arch += {'alpha': alpha_softmmu_ss} |
