[git commit] test: Fix math .c dependency

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Feb 18 22:30:28 UTC 2014


commit: http://git.uclibc.org/uClibc/commit/?id=a20a91ad7c042c46e4a2adee6d03315f857f9985
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

When explicitly running the compile target we were missing a dependency
to generate the libm-test.c.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 test/math/Makefile.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/test/math/Makefile.in b/test/math/Makefile.in
index beef650..0285b66 100644
--- a/test/math/Makefile.in
+++ b/test/math/Makefile.in
@@ -25,7 +25,8 @@ EXTRA_LDFLAGS   := -lm
 
 PERL := /usr/bin/perl
 
-$(TESTS): libm-test.c
+MDEPS := $(wildcard test-*.c)
+$(MDEPS): 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


More information about the uClibc-cvs mailing list