summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/valgrind/Config.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in
index 40e219d95a..75b779d214 100644
--- a/package/valgrind/Config.in
+++ b/package/valgrind/Config.in
@@ -1,14 +1,19 @@
+config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS
+ bool
+ default y if BR2_ARM_CPU_ARMV7A
+ default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+ default y if BR2_i386 || BR2_x86_64
+ default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
+ depends on !BR2_MIPS_SOFT_FLOAT
+
comment "valgrind needs a toolchain w/ dynamic library"
+ depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_VALGRIND
bool "valgrind"
- depends on BR2_ARM_CPU_ARMV7A || BR2_i386 || \
- BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
- BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
- BR2_x86_64
+ depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS
depends on !BR2_STATIC_LIBS
- depends on !BR2_MIPS_SOFT_FLOAT
help
Tool for debugging and profiling Linux programs.
OpenPOWER on IntegriCloud