[PATCHv1,5/5] tests: ubi-tests: clean libubi.a and *.o

Submitted by Shevchenko Andriy (EXT-Teleca/Helsinki) on April 13, 2011, 1:20 p.m.

Details

Message ID 5dca68dbcc29a1bdc8a866b9c3d1f19853ddde3c.1302700658.git.ext-andriy.shevchenko@nokia.com
State Accepted
Commit 3c4668cfa1817dfd4d377ba1a966104d6edda1c0
Headers show

Commit Message

Shevchenko Andriy (EXT-Teleca/Helsinki) April 13, 2011, 1:20 p.m.
The common.mk contains clean target that removes *.o and $(TARGETS). Thus, make
custom clean target only for libubi.a

Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
---
 tests/ubi-tests/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Artem Bityutskiy April 14, 2011, 12:30 p.m.
On Wed, 2011-04-13 at 16:20 +0300, Andy Shevchenko wrote:
> The common.mk contains clean target that removes *.o and $(TARGETS). Thus, make
> custom clean target only for libubi.a
> 
> Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>

Pushed, thanks.

Patch hide | download patch | download mbox

diff --git a/tests/ubi-tests/Makefile b/tests/ubi-tests/Makefile
index d6be0dc..741a5c2 100644
--- a/tests/ubi-tests/Makefile
+++ b/tests/ubi-tests/Makefile
@@ -22,4 +22,4 @@  libubi.a: $(LIBUBI_SRC_PATH)/libubi.c  $(LIBUBI_HEADER_PATH)/libubi.h  $(LIBUBI_
 $(TARGETS): $(addprefix $(BUILDDIR)/, common.o) libubi.a
 
 clean::
-	rm -f $(TARGETS) $(addsuffix .o, $(TESTS)) libubi.*
+	rm -f libubi.a