aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-10-02 03:43:23 -0400
committerIngo Molnar <mingo@kernel.org>2013-10-09 02:48:52 -0400
commitde0f03fb8dc268de63d366e735cc576a22df201b (patch)
treee58eb3b6eb0c90e45cfbe7bae3fa44017283aa55 /tools/perf/Makefile
parent31f6be65e08d2cbb876b3b5fc9ae9281b7417c85 (diff)
tools/perf/build: Invoke feature-checks 'clean' target from the main Makefile
config/Makefile is not included for the 'clean' target, so invoke the config/feature-checks/Makefile 'clean' target from Makefile.perf. 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-sh2cGvmsjbrazarlqre7pVwt@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index df76198d45d4..6b7779b3760b 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -809,7 +809,14 @@ $(INSTALL_DOC_TARGETS):
809 809
810### Cleaning rules 810### Cleaning rules
811 811
812clean: $(LIBTRACEEVENT)-clean $(LIBLK)-clean 812#
813# This is here, not in config/Makefile, because config/Makefile does
814# not get included for the clean target:
815#
816config-clean:
817 @$(MAKE) -C config/feature-checks clean
818
819clean: $(LIBTRACEEVENT)-clean $(LIBLK)-clean config-clean
813 $(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS) 820 $(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS)
814 $(RM) $(ALL_PROGRAMS) perf 821 $(RM) $(ALL_PROGRAMS) perf
815 $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* 822 $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope*
@@ -829,6 +836,6 @@ else
829 GIT-HEAD-PHONY = 836 GIT-HEAD-PHONY =
830endif 837endif
831 838
832.PHONY: all install clean strip 839.PHONY: all install clean config-clean strip
833.PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell 840.PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell
834.PHONY: $(GIT-HEAD-PHONY) TAGS tags cscope .FORCE-PERF-CFLAGS 841.PHONY: $(GIT-HEAD-PHONY) TAGS tags cscope .FORCE-PERF-CFLAGS