diff options
author | Jian Peng <jipeng2005@gmail.com> | 2014-07-09 22:27:25 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-07-24 21:56:31 +0200 |
commit | c02bc5763ba9c8f8b464bca89fba28e091ce1ffc (patch) | |
tree | c6bfb1e521db53cd8bc33b981a3d3df6749ba6c5 /test/math/Makefile.in | |
parent | 53eb441800e16b0353ca6835b55eda11f8589854 (diff) |
test/math: add fallback to libm-test-ulps-generic logic
Under test/math/, there is libm-test-ulps-generic used as fallback
in case that libm-test-ulps-$(TARGET_ARCH) does not exist.
This is required for arches that don't have ULPS yet.
Original patch from Jian Peng was found here:
http://lists.uclibc.org/pipermail/uclibc/2011-April/045172.html
Signed-off-by: Jian Peng <jipeng2005@gmail.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test/math/Makefile.in')
-rw-r--r-- | test/math/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/math/Makefile.in b/test/math/Makefile.in index 914fc75a8..b495c0bf5 100644 --- a/test/math/Makefile.in +++ b/test/math/Makefile.in @@ -31,7 +31,7 @@ PERL := /usr/bin/perl MDEPS := $(wildcard test-*.c) $(MDEPS): libm-test.c -TARGET_ULP := $(TARGET_ARCH) +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) |