summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)