summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/utilities.mak
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-10-02 15:30:35 +0200
committerIngo Molnar <mingo@kernel.org>2013-10-09 08:48:57 +0200
commit0648f839ff754e2825fee2cb7080df5874316b3f (patch)
tree059769bbac2fe467adac1f531930e5f5a7ee3fe7 /tools/perf/config/utilities.mak
parent1c47661a93fe6f729c80ed18a1f9ab1c7fb0cac2 (diff)
downloadlinux-0648f839ff754e2825fee2cb7080df5874316b3f.tar.bz2
tools/perf/build: Remove unused config/feature-tests.mak
Also remove try-cc et al. These got obsoleted by the split-out feature checks in config/feature-checks/. Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/n/tip-Y6ailbiranadqlrl8Dfivjbi@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/config/utilities.mak')
-rw-r--r--tools/perf/config/utilities.mak14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/perf/config/utilities.mak b/tools/perf/config/utilities.mak
index 94d2d4f9c35d..4d985e0f03f5 100644
--- a/tools/perf/config/utilities.mak
+++ b/tools/perf/config/utilities.mak
@@ -178,17 +178,3 @@ endef
_ge_attempt = $(if $(get-executable),$(get-executable),$(_gea_warn)$(call _gea_err,$(2)))
_gea_warn = $(warning The path '$(1)' is not executable.)
_gea_err = $(if $(1),$(error Please set '$(1)' appropriately))
-
-# try-cc
-# Usage: option = $(call try-cc, source-to-build, cc-options, msg)
-ifneq ($(V),1)
-TRY_CC_OUTPUT= > /dev/null 2>&1
-endif
-TRY_CC_MSG=echo " CHK $(3)" 1>&2;
-
-try-cc = $(shell sh -c \
- 'TMP="$(OUTPUT)$(TMPOUT).$$$$"; \
- $(TRY_CC_MSG) \
- echo "$(1)" | \
- $(CC) -x c - $(2) -o "$$TMP" $(TRY_CC_OUTPUT) && echo y; \
- rm -f "$$TMP"')