diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-03-16 13:36:39 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-03-16 13:36:39 +0000 |
commit | e72856950a9baa76ed41fb8d684cb13375daf48e (patch) | |
tree | 7ab013c14a29d8ad4d02b5c6aebe587f4806510e /test/pthread | |
parent | 72e880a46d65bcce7374c59826531240d6a316ba (diff) |
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 <salvatore.cro@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'test/pthread')
-rw-r--r-- | test/pthread/Makefile | 7 | ||||
-rw-r--r-- | test/pthread/Makefile.in | 7 |
2 files changed, 10 insertions, 4 deletions
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 |