From c6347541728b0face2c509c4ebc8ba6fdf807fc6 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 8 Mar 2021 12:15:06 -0800 Subject: [PATCH] meson: Split out fpu/meson.build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Luis Pires Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- fpu/meson.build | 1 + meson.build | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 fpu/meson.build diff --git a/fpu/meson.build b/fpu/meson.build new file mode 100644 index 0000000000..1a9992ded5 --- /dev/null +++ b/fpu/meson.build @@ -0,0 +1 @@ +specific_ss.add(when: 'CONFIG_TCG', if_true: files('softfloat.c')) diff --git a/meson.build b/meson.build index b5b2cf9e04..a2311eda6e 100644 --- a/meson.build +++ b/meson.build @@ -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')