[PATCHv2] tests: introduce new target tests in Makefile
Artem Bityutskiy
Artem.Bityutskiy at nokia.com
Thu Apr 7 06:44:39 EDT 2011
On Tue, 2011-04-05 at 18:03 +0300, Andy Shevchenko wrote:
> This patch appends Makefile to the tests subdirectory and introduces tests
> target in the root Makefile.
>
> Additionally the clean target removes temporary stuff under tests subdirectory
> as well.
>
> Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko at nokia.com>
> ---
> Makefile | 7 ++++++-
> tests/Makefile | 8 ++++++++
> 2 files changed, 14 insertions(+), 1 deletions(-)
> create mode 100644 tests/Makefile
Breaks compilation for me:
[dedekind at eru mtd-utils (master)]$ make
d=lib_all; \
t=`echo $d | sed s:.*_::` d=`echo $d | sed s:_.*::`; \
make BUILDDIR=/home/dedekind/git/mtd-utils/$d -C $d $t
make[1]: Entering directory `/home/dedekind/git/mtd-utils/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dedekind/git/mtd-utils/lib'
ar crv /home/dedekind/git/mtd-utils/lib/libmtd.a subdirs_lib_all
ar: subdirs_lib_all: No such file or directory
make: *** [/home/dedekind/git/mtd-utils/lib/libmtd.a] Error 1
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list