meson: convert most of softmmu/
Leave out main.c, it's special due to fuzzing. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
4a96337dfa
commit
5d3ea0e17d
@ -645,6 +645,8 @@ softmmu_ss.add(when: ['CONFIG_FDT', fdt], if_true: [files('device_tree.c')])
|
||||
|
||||
common_ss.add(files('cpus-common.c'))
|
||||
|
||||
subdir('softmmu')
|
||||
|
||||
# needed for fuzzing binaries
|
||||
subdir('tests/qtest/libqos')
|
||||
|
||||
|
@ -1,14 +1,2 @@
|
||||
softmmu-main-y = softmmu/main.o
|
||||
|
||||
obj-y += arch_init.o
|
||||
obj-y += cpus.o
|
||||
obj-y += cpu-throttle.o
|
||||
obj-y += balloon.o
|
||||
obj-y += ioport.o
|
||||
obj-y += memory.o
|
||||
obj-y += memory_mapping.o
|
||||
|
||||
obj-y += qtest.o
|
||||
|
||||
obj-y += vl.o
|
||||
vl.o-cflags := $(SDL_CFLAGS)
|
||||
main.o-cflags := $(SDL_CFLAGS)
|
||||
|
10
softmmu/meson.build
Normal file
10
softmmu/meson.build
Normal file
@ -0,0 +1,10 @@
|
||||
specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files(
|
||||
'arch_init.c',
|
||||
'balloon.c',
|
||||
'cpus.c',
|
||||
'cpu-throttle.c',
|
||||
'ioport.c',
|
||||
'memory.c',
|
||||
'memory_mapping.c',
|
||||
'qtest.c',
|
||||
'vl.c'))
|
Loading…
Reference in New Issue
Block a user