From: Ingo Molnar Date: Mon, 30 Sep 2013 11:51:28 +0000 (+0200) Subject: tools/perf/build: Add 'autodep' functionality, generate feature test dependencies... X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~28^2~158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b6eb56a9570001634df1d2c7f38e7179a357362;p=pandora-kernel.git 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 Cc: Peter Zijlstra Cc: Namhyung Kim Cc: David Ahern Cc: Jiri Olsa Link: http://lkml.kernel.org/n/tip-Jfma8pmPnnqzpxjbs3hpgmsj@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed