tools build: Add detected config support
authorJiri Olsa <[email protected]>
Wed, 31 Dec 2014 16:37:00 +0000 (17:37 +0100)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 12 Feb 2015 14:16:56 +0000 (11:16 -0300)
commitfcfd6611fbccdbf2593bd949097a5c0e45cd96da
tree59cba6780e6d5472ac8e608b3e6cf669a93c3b02
parentc819e2cf2eb6f65d3208d195d7a0edef6108d533
tools build: Add detected config support

Adding support to include detected configuration makefile into the build
process. This will allow the Build objects to be configurable based on
the config data, like:

  perf-$(CONFIG_KRAVA) += krava.o

The configuration is stored in '.config-detected' file, which is
generated for each compilation.

Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Sukadev Bhattiprolu <[email protected]>
Tested-by: Will Deacon <[email protected]>
Cc: Alexis Berlemont <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/build/Makefile.build
tools/perf/config/Makefile