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/stat/Makefile | 11 +++-------- test/stat/Makefile.in | 10 ++++++++++ 2 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 test/stat/Makefile.in (limited to 'test/stat') diff --git a/test/stat/Makefile b/test/stat/Makefile index 008a81248..ecde416d1 100644 --- a/test/stat/Makefile +++ b/test/stat/Makefile @@ -1,12 +1,7 @@ # uClibc stat 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 - -CFLAGS_stat64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 - -DODIFF_stat := 1 -DODIFF_stat64 := 1 - -OPTS_stat := Makefile -OPTS_stat64 := Makefile diff --git a/test/stat/Makefile.in b/test/stat/Makefile.in new file mode 100644 index 000000000..ca5aa04a2 --- /dev/null +++ b/test/stat/Makefile.in @@ -0,0 +1,10 @@ +# uClibc stat tests +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + +CFLAGS_stat64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 + +DODIFF_stat := 1 +DODIFF_stat64 := 1 + +OPTS_stat := Makefile +OPTS_stat64 := Makefile -- cgit v1.2.3