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

Andy Shevchenko ext-andriy.shevchenko at nokia.com
Wed Apr 13 09:20:29 EDT 2011


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 at nokia.com>
---
 tests/ubi-tests/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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
-- 
1.6.3.3




More information about the linux-mtd mailing list