From: Peter Korsgaard Date: Mon, 25 Sep 2006 08:48:47 +0000 (-0000) Subject: Valgrind works on PPC and AMD64 as well nowadays. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=388e17a855836676fdfbb3084c9a430fc307a592;p=buildroot.git Valgrind works on PPC and AMD64 as well nowadays. Use Kconfig to ensure valgrind can only be enabled on supported archs. --- diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 779cdd7444..4eb6a9b695 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 ace6b56abb..9b0ae29fe2 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)