From dfe689229df9afe9a3b7783b477ed82f9a521dbc Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 27 Mar 2008 15:42:42 +0000 Subject: buildroot: cleanup -clean targets. Based on input from Arndt Kritzner & Bernhard Fischer. --- package/valgrind/valgrind.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/valgrind') diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index 9385aab9e..8ba144830 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -75,7 +75,9 @@ valgrind: $(TARGET_DIR)/usr/bin/valgrind valgrind-source: $(DL_DIR)/$(VALGRIND_SOURCE) valgrind-clean: - $(MAKE) -C $(VALGRIND_DIR) clean + -$(MAKE) -C $(VALGRIND_DIR) clean + -rm -f $(TARGET_DIR)/usr/bin/valgrind* + rm -rf $(TARGET_DIR)/usr/lib/valgrind valgrind-dirclean: rm -rf $(VALGRIND_DIR) -- cgit v1.2.3