aboutsummaryrefslogtreecommitdiff
path: root/package/valgrind/valgrind.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/valgrind/valgrind.mk')
-rw-r--r--package/valgrind/valgrind.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk
index 9385aab9e3..8ba144830e 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)