summaryrefslogtreecommitdiff
path: root/package/valgrind
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2006-09-25 08:48:47 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2006-09-25 08:48:47 +0000
commit388e17a855836676fdfbb3084c9a430fc307a592 (patch)
treedc6d7cbde81f7f66585008e41af329c8b6c0bc53 /package/valgrind
parent283c9b35bc212efa8e2c01269c882b07b3a23e54 (diff)
Valgrind works on PPC and AMD64 as well nowadays.
Use Kconfig to ensure valgrind can only be enabled on supported archs.
Diffstat (limited to 'package/valgrind')
-rw-r--r--package/valgrind/Config.in1
-rw-r--r--package/valgrind/valgrind.mk4
2 files changed, 1 insertions, 4 deletions
diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in
index 779cdd744..4eb6a9b69 100644
--- a/package/valgrind/Config.in
+++ b/package/valgrind/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_VALGRIND
bool "valgrind"
default n
+ depends BR2_i386 || BR2_powerpc || BR2_x86_64
help
Tool for debugging and profiling Linux programs.
diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk
index ace6b56ab..9b0ae29fe 100644
--- a/package/valgrind/valgrind.mk
+++ b/package/valgrind/valgrind.mk
@@ -77,11 +77,7 @@ $(TARGET_DIR)/usr/bin/valgrind: $(VALGRIND_DIR)/none/vgskin_none.so
#cp $(VALGRIND_DIR)/woody.supp $(TARGET_DIR)/usr/lib/valgrind/
touch -c $(TARGET_DIR)/usr/bin/valgrind
-ifeq ($(BR2_i386),y)
valgrind: $(TARGET_DIR)/usr/bin/valgrind
-else
-valgrind:
-endif
valgrind-source: $(DL_DIR)/$(VALGRIND_SOURCE)