Commit 29c3c7eb authored by Mike Williams's avatar Mike Williams Committed by Thomas Petazzoni
Browse files

valgrind: allow building on more ARM systems

parent c9e0aa3c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
config BR2_PACKAGE_VALGRIND
	bool "valgrind"
	depends on BR2_i386 || BR2_x86_64 || BR2_cortex_a8 || \
		   BR2_cortex_a9 || BR2_powerpc || BR2_mips || \
		   BR2_mipsel || BR2_mips64 || BR2_mips64el
	depends on BR2_i386 || BR2_x86_64 || BR2_cortex_a5 || \
		   BR2_cortex_a7 || BR2_cortex_a8 || BR2_cortex_a9 || \
		   BR2_cortex_a12 || BR2_cortex_a15 || BR2_powerpc || \
		   BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
	help
	  Tool for debugging and profiling Linux programs.

+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ VALGRIND_AUTORECONF = YES
# not. Therefore, we adjust the host tuple to specify we're on
# ARMv7. The valgrind package is guaranteed, through Config.in, to
# only be selected on Cortex A8 and Cortex A9 platforms.
ifeq ($(BR2_cortex_a8)$(BR2_cortex_a9),y)
ifeq ($(BR2_cortex_a5)$(BR2_cortex_a7)$(BR2_cortex_a8)$(BR2_cortex_a9)$(BR2_cortex_a12)$(BR2_cortex_a15),y)
VALGRIND_CONF_OPT += \
	--host=$(patsubst arm-%,armv7-%,$(GNU_TARGET_NAME))
endif