diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-08-17 13:55:58 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-21 06:30:33 -0400 |
commit | 2c44220d055d12142f27cf513848f17d6007ae35 (patch) | |
tree | 72593b21d3f6e20a325be46bfc05b69457e14244 /hw/m68k/meson.build | |
parent | b2c00bce54cce0dbb8c7fd3dd397cfdaca4c28ef (diff) |
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/m68k/meson.build')
-rw-r--r-- | hw/m68k/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/m68k/meson.build b/hw/m68k/meson.build new file mode 100644 index 0000000000..ca0044c652 --- /dev/null +++ b/hw/m68k/meson.build @@ -0,0 +1,7 @@ +m68k_ss = ss.source_set() +m68k_ss.add(when: 'CONFIG_AN5206', if_true: files('an5206.c', 'mcf5206.c')) +m68k_ss.add(when: 'CONFIG_MCF5208', if_true: files('mcf5208.c', 'mcf_intc.c')) +m68k_ss.add(when: 'CONFIG_NEXTCUBE', if_true: files('next-kbd.c', 'next-cube.c')) +m68k_ss.add(when: 'CONFIG_Q800', if_true: files('q800.c')) + +hw_arch += {'m68k': m68k_ss} |