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
64
64
ifeq ($(OSTYPE_$(1 ) ) ,unknown-linux-gnu)
65
65
GOOD_VALGRIND_$(1 ) = 1
66
66
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)
69
69
GOOD_VALGRIND_$(1 ) = 1
70
70
endif
71
71
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
72
77
endef
73
78
$(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 ) ) ))
75
79
76
80
ifneq ($(findstring linux,$(CFG_OSTYPE ) ) ,)
77
81
ifdef CFG_PERF
You can’t perform that action at this time.
0 commit comments