fpu: Build only once
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Feb 2025 11:15:24 +0000 (11:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Feb 2025 15:32:57 +0000 (15:32 +0000)
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

fpu/meson.build
fpu/softfloat.c

index 1a9992ded56b62c2fa77548442bde9271784fef6..646c76f0c69e395cc47a0247b145faece344ebda 100644 (file)
@@ -1 +1 @@
-specific_ss.add(when: 'CONFIG_TCG', if_true: files('softfloat.c'))
+common_ss.add(when: 'CONFIG_TCG', if_true: files('softfloat.c'))
index b38eea8d879c814602a1534528d25de517c38258..34c962d6bd98368ed49332fad119fba21f41284a 100644 (file)
@@ -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"