aboutsummaryrefslogtreecommitdiff
path: root/package/valgrind/valgrind.mk
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2005-08-08 11:48:35 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2005-08-08 11:48:35 +0000
commitb904ce177803224ea39b709d1236bc61123e669e (patch)
tree2521ac7d2fb032678a3543e600621226523185f4 /package/valgrind/valgrind.mk
parent8ce4796efafab6a4f3ccce6ff8c84862625eee90 (diff)
downloadbuildroot-b904ce177803224ea39b709d1236bc61123e669e.tar.gz
buildroot-b904ce177803224ea39b709d1236bc61123e669e.tar.bz2
Rather than adjusting the way ldso allocates memory, for the
time being simply add a series of suppressions to make valgrind ignore all memory mmaped by uClibc's ldso.
Diffstat (limited to 'package/valgrind/valgrind.mk')
-rw-r--r--package/valgrind/valgrind.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk
index ac529879c5..f029576117 100644
--- a/package/valgrind/valgrind.mk
+++ b/package/valgrind/valgrind.mk
@@ -65,6 +65,10 @@ $(TARGET_DIR)/usr/bin/valgrind: $(VALGRIND_DIR)/none/vgskin_none.so
mandir=$(TARGET_DIR)/usr/man \
includedir=$(TARGET_DIR)/usr/include \
-C $(VALGRIND_DIR) install;
+ mv $(TARGET_DIR)/usr/bin/valgrind $(TARGET_DIR)/usr/bin/valgrind.bin
+ cp package/valgrind/uclibc.supp $(TARGET_DIR)/usr/lib/valgrind/
+ cp package/valgrind/valgrind.sh $(TARGET_DIR)/usr/bin/valgrind
+ chmod a+x $(TARGET_DIR)/usr/bin/valgrind
rm -rf $(TARGET_DIR)/usr/share/doc/valgrind
#mkdir -p $(TARGET_DIR)/etc/default
#cp $(VALGRIND_DIR)/valgrind.default $(TARGET_DIR)/etc/default/valgrind