File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,18 @@ define DEF_GOOD_VALGRIND
6464 ifeq ($(OSTYPE_$(1 ) ) ,unknown-linux-gnu)
6565 GOOD_VALGRIND_$(1 ) = 1
6666 endif
67- ifneq (,$(filter $(OSTYPE_$(1 ) ) ,darwin freebsd) )
68- ifeq (HOST_$(1 ) ,x86_64)
67+ ifneq (,$(filter $(OSTYPE_$(1 ) ) ,apple- darwin freebsd) )
68+ ifeq ($( HOST_$(1 ) ) ,x86_64)
6969 GOOD_VALGRIND_$(1 ) = 1
7070 endif
7171 endif
72+ ifdef GOOD_VALGRIND_$(t )
73+ $$(info cfg: have good valgrind for $(t ) )
74+ else
75+ $$(info cfg: no good valgrind for $(t ) )
76+ endif
7277endef
7378$(foreach t,$(CFG_TARGET),$(eval $(call DEF_GOOD_VALGRIND,$(t))))
74- $(foreach t,$(CFG_TARGET ) ,$(info cfg : good valgrind for $(t ) is $(GOOD_VALGRIND_$(t ) ) ))
7579
7680ifneq ($(findstring linux,$(CFG_OSTYPE ) ) ,)
7781 ifdef CFG_PERF
You can’t perform that action at this time.
0 commit comments