summaryrefslogtreecommitdiffstats
path: root/package/valgrind/valgrind.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-03-27 15:42:42 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-03-27 15:42:42 +0000
commitdfe689229df9afe9a3b7783b477ed82f9a521dbc (patch)
tree8df36ce9bed6d4b92051cad70481b1ee73404446 /package/valgrind/valgrind.mk
parent584e60c7972c6f720492c31f82715af9328eda06 (diff)
downloadbuildroot-novena-dfe689229df9afe9a3b7783b477ed82f9a521dbc.tar.gz
buildroot-novena-dfe689229df9afe9a3b7783b477ed82f9a521dbc.zip
buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
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 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)