meson: Split out fpu/meson.build

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2021-03-08 12:15:06 -08:00
parent 104cc2c085
commit c634754172
2 changed files with 2 additions and 3 deletions

1
fpu/meson.build Normal file
View File

@ -0,0 +1 @@
specific_ss.add(when: 'CONFIG_TCG', if_true: files('softfloat.c'))

View File

@ -1968,9 +1968,6 @@ subdir('softmmu')
common_ss.add(capstone)
specific_ss.add(files('cpu.c', 'disas.c', 'gdbstub.c'), capstone)
specific_ss.add(when: 'CONFIG_TCG', if_true: files(
'fpu/softfloat.c',
))
# Work around a gcc bug/misfeature wherein constant propagation looks
# through an alias:
@ -2001,6 +1998,7 @@ subdir('replay')
subdir('semihosting')
subdir('hw')
subdir('tcg')
subdir('fpu')
subdir('accel')
subdir('plugins')
subdir('bsd-user')