From e72856950a9baa76ed41fb8d684cb13375daf48e Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Mon, 16 Mar 2009 13:36:39 +0000 Subject: Fixed makefiles inclusion flow to pass actual configuration variable values. Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro Signed-off-by: Carmelo Amoroso --- test/pthread/Makefile | 7 +++---- test/pthread/Makefile.in | 7 +++++++ 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 test/pthread/Makefile.in (limited to 'test/pthread') diff --git a/test/pthread/Makefile b/test/pthread/Makefile index ef924ad1a..d6f00d643 100644 --- a/test/pthread/Makefile +++ b/test/pthread/Makefile @@ -1,8 +1,7 @@ # uClibc pthread tests # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. +top_builddir=../../ +include ../Rules.mak +-include Makefile.in include ../Test.mak - -EXTRA_LDFLAGS := -lpthread - -LDFLAGS_cancellation-points := -lrt diff --git a/test/pthread/Makefile.in b/test/pthread/Makefile.in new file mode 100644 index 000000000..d3412f6b8 --- /dev/null +++ b/test/pthread/Makefile.in @@ -0,0 +1,7 @@ +# uClibc pthread tests +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + + +EXTRA_LDFLAGS := -lpthread + +LDFLAGS_cancellation-points := -lrt -- cgit v1.2.3