summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-02-24 11:15:24 +0000
committerPeter Maydell <peter.maydell@linaro.org>2025-02-25 15:32:57 +0000
commit5d3462b4cde8bedb33362dab0a3ae94d403899b0 (patch)
tree9c00da2aa1272100085f10eb5cc807e4ca266b92
parentc5d4173fcf04f6de9b9bb0959d1fdfc08254381a (diff)
downloadfocaccia-qemu-5d3462b4cde8bedb33362dab0a3ae94d403899b0.tar.gz
focaccia-qemu-5d3462b4cde8bedb33362dab0a3ae94d403899b0.zip
fpu: Build only once
Now we have removed all the target-specifics from the softfloat code,
we can switch to building it once for the whole system rather than
once per target.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250224111524.1101196-13-peter.maydell@linaro.org
Message-id: 20250217125055.160887-11-peter.maydell@linaro.org
-rw-r--r--fpu/meson.build2
-rw-r--r--fpu/softfloat.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/fpu/meson.build b/fpu/meson.build
index 1a9992ded5..646c76f0c6 100644
--- a/fpu/meson.build
+++ b/fpu/meson.build
@@ -1 +1 @@
-specific_ss.add(when: 'CONFIG_TCG', if_true: files('softfloat.c'))
+common_ss.add(when: 'CONFIG_TCG', if_true: files('softfloat.c'))
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index b38eea8d87..34c962d6bd 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@ -79,9 +79,6 @@ this code that are retained.
  * version 2 or later. See the COPYING file in the top-level directory.
  */
 
-/* softfloat (and in particular the code in softfloat-specialize.h) is
- * target-dependent and needs the TARGET_* macros.
- */
 #include "qemu/osdep.h"
 #include <math.h>
 #include "qemu/bitops.h"