summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-09-30 13:51:28 +0200
committerIngo Molnar <mingo@kernel.org>2013-10-09 08:48:29 +0200
commit8b6eb56a9570001634df1d2c7f38e7179a357362 (patch)
tree7bfbb9255f80cd8acd2f94d90454c1e9a04e15e2 /tools/perf/config/Makefile
parenttools/perf/build: Add feature check core code (diff)
downloadlinux-8b6eb56a9570001634df1d2c7f38e7179a357362.tar.xz
linux-8b6eb56a9570001634df1d2c7f38e7179a357362.zip
tools/perf/build: Add 'autodep' functionality, generate feature test dependencies automatically
Use GCC's -MD feature to generate a dependency file for each feature test .c file, and include that .d file in the config/feature-checks/Makefile. This allows us to do two things: - speed up feature tests - detect removal or changes in build dependencies - including system libraries/headers 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-Jfma8pmPnnqzpxjbs3hpgmsj@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/config/Makefile')
0 files changed, 0 insertions, 0 deletions