qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 42/43] tests/tcg: disable fp-test for 32 bit (HAC


From: Alex Bennée
Subject: [Qemu-devel] [PATCH v2 42/43] tests/tcg: disable fp-test for 32 bit (HACK!)
Date: Thu, 19 Apr 2018 14:59:00 +0100

This prevents us trying to build fp-test for 32 bit guests as they
would fail due to pollution from config-host.h when including osdep.h.
As keeping softfloat.o would be useful maybe we can conditionally
disabled it?

Signed-off-by: Alex Bennée <address@hidden>
---
 tests/tcg/multiarch/Makefile.target | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/tcg/multiarch/Makefile.target 
b/tests/tcg/multiarch/Makefile.target
index 52adc18625..8bf6f3f8dc 100644
--- a/tests/tcg/multiarch/Makefile.target
+++ b/tests/tcg/multiarch/Makefile.target
@@ -31,6 +31,7 @@ run-test-mmap: test-mmap
 #
 # Include the fp-test from the main test suite
 #
+ifneq (,$(findstring 64,$(TARGET_NAME)))
 
 VPATH+=$(SRC_PATH)/tests/fp
 VPATH+=$(SRC_PATH)/fpu
@@ -46,3 +47,4 @@ fp-test.o softfloat.o: %.o: %.c
 fp-test: fp-test.o softfloat.o
        $(CC) $^ -o $@ -lm -static
 
+endif
-- 
2.17.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]