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/crypt | |
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/crypt')
-rw-r--r-- | test/crypt/Makefile | 13 | ||||
-rw-r--r-- | test/crypt/Makefile.in | 6 |
2 files changed, 9 insertions, 10 deletions
diff --git a/test/crypt/Makefile b/test/crypt/Makefile index 7ba1cfcfc..44bbde03a 100644 --- a/test/crypt/Makefile +++ b/test/crypt/Makefile @@ -1,14 +1,7 @@ # uClibc crypt tests # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. -include ../../.config - -ifneq ($(UCLIBC_HAS_CRYPT),y) -TESTS_DISABLED := $(patsubst %.c,%,$(wildcard *.c)) -endif - +top_builddir=../../ +include ../Rules.mak +-include Makefile.in include ../Test.mak - -EXTRA_LDFLAGS := -lcrypt - -OPTS_crypt = < crypt.input diff --git a/test/crypt/Makefile.in b/test/crypt/Makefile.in new file mode 100644 index 000000000..22c27e9e9 --- /dev/null +++ b/test/crypt/Makefile.in @@ -0,0 +1,6 @@ +# uClibc crypt tests +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + +EXTRA_LDFLAGS := -lcrypt + +OPTS_crypt = < crypt.input |