meson: convert hw/cpu

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Marc-André Lureau 2019-08-17 11:21:13 +04:00 committed by Paolo Bonzini
parent b4c8eece57
commit cff3c5d2b4
4 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,6 @@ devices-dirs-y += adc/
devices-dirs-y += audio/
devices-dirs-y += block/
devices-dirs-y += char/
devices-dirs-y += cpu/
endif
common-obj-y += $(devices-dirs-y)

View File

@ -1,5 +0,0 @@
obj-$(CONFIG_ARM11MPCORE) += arm11mpcore.o
obj-$(CONFIG_REALVIEW) += realview_mpcore.o
obj-$(CONFIG_A9MPCORE) += a9mpcore.o
obj-$(CONFIG_A15MPCORE) += a15mpcore.o
common-obj-y += core.o cluster.o

6
hw/cpu/meson.build Normal file
View File

@ -0,0 +1,6 @@
softmmu_ss.add(files('core.c', 'cluster.c'))
specific_ss.add(when: 'CONFIG_ARM11MPCORE', if_true: files('arm11mpcore.c'))
specific_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_mpcore.c'))
specific_ss.add(when: 'CONFIG_A9MPCORE', if_true: files('a9mpcore.c'))
specific_ss.add(when: 'CONFIG_A15MPCORE', if_true: files('a15mpcore.c'))

View File

@ -1,4 +1,5 @@
subdir('core')
subdir('cpu')
subdir('display')
subdir('dma')
subdir('gpio')