summaryrefslogtreecommitdiff
path: root/test/math
diff options
context:
space:
mode:
Diffstat (limited to 'test/math')
-rw-r--r--test/math/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/math/Makefile.in b/test/math/Makefile.in
index d4693b97a..d241baa9e 100644
--- a/test/math/Makefile.in
+++ b/test/math/Makefile.in
@@ -30,12 +30,12 @@ PERL := /usr/bin/perl
MDEPS := $(wildcard test-*.c)
$(MDEPS): libm-test.c
-TARGET_ULP := $(if $(wildcard libm-test-ulps-$(TARGET_ARCH)),$(TARGET_ARCH),generic)
ULP_SUFFIX :=
ifeq ($(TARGET_ARCH),mips)
ULP_SUFFIX:=$(if $(CONFIG_MIPS_ISA_MIPS64R1)$(CONFIG_MIPS_ISA_MIPS64R2),64,32)
endif
-TARGET_ULP:=$(TARGET_ULP)$(ULP_SUFFIX)
+
+TARGET_ULP := $(if $(wildcard libm-test-ulps-$(TARGET_ARCH)$(ULP_SUFFIX)),$(TARGET_ARCH)$(ULP_SUFFIX),generic)
libm-test.c: libm-test-ulps-$(TARGET_ULP) libm-test.inc gen-libm-test.pl
$(Q)$(PERL) ./gen-libm-test.pl -u libm-test-ulps-$(TARGET_ULP) ./libm-test.inc -o "." 2>&1 > /dev/null