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/alpha | |
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/alpha')
-rw-r--r-- | hw/alpha/Makefile.objs | 1 | ||||
-rw-r--r-- | hw/alpha/meson.build | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/hw/alpha/Makefile.objs b/hw/alpha/Makefile.objs deleted file mode 100644 index 62fdf3edec..0000000000 --- a/hw/alpha/Makefile.objs +++ /dev/null @@ -1 +0,0 @@ -obj-$(CONFIG_DP264) += dp264.o pci.o typhoon.o diff --git a/hw/alpha/meson.build b/hw/alpha/meson.build new file mode 100644 index 0000000000..81ca215777 --- /dev/null +++ b/hw/alpha/meson.build @@ -0,0 +1,8 @@ +alpha_ss = ss.source_set() +alpha_ss.add(when: 'CONFIG_DP264', if_true: files( + 'dp264.c', + 'pci.c', + 'typhoon.c', +)) + +hw_arch += {'alpha': alpha_ss} |