Under test/math/, there is libm-test-ulps-generic used as fallback in case that libm-test-ulps-$(TARGET_ARCH) does not exist.
The fallback logic is missing in test/math/Makefile.in. Signed-off-by: Jian Peng <jipeng2...@gmail.com> --- test/math/Makefile.in | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/math/Makefile.in b/test/math/Makefile.in index e76cbdb..4ab1d93 100644 --- a/test/math/Makefile.in +++ b/test/math/Makefile.in @@ -23,9 +23,11 @@ EXTRA_LDFLAGS := -lm PERL := /usr/bin/perl +MATH_TARGET := $(if $(wildcard libm-test-ulps-$(TARGET_ARCH)),$(TARGET_ARCH),generic) + $(TESTS): libm-test.c -libm-test.c: libm-test-ulps-$(TARGET_ARCH) libm-test.inc gen-libm-test.pl - $(Q)$(PERL) ./gen-libm-test.pl -u libm-test-ulps-$(TARGET_ARCH) ./libm-test.inc -o "." 2>&1 > /dev/null +libm-test.c: libm-test-ulps-$(MATH_TARGET) libm-test.inc gen-libm-test.pl + $(Q)$(PERL) ./gen-libm-test.pl -u libm-test-ulps-$(MATH_TARGET) ./libm-test. inc -o "." 2>&1 > /dev/null EXTRA_CLEAN := libm-test.c libm-test-ulps.h -- 1.7.4.1 _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc