OSDN Git Service

cpupower tool: allow to build in a separate directory
authorFranck Bui-Huu <fbuihuu@gmail.com>
Wed, 1 Feb 2012 11:08:20 +0000 (12:08 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sat, 3 Mar 2012 13:40:10 +0000 (14:40 +0100)
commit68bb2c3a145c9ccac9e695baffefde0c3b303cba
tree2d6ec8d7e7fe07eb6954f53d7c692ab70dc548e4
parent3827150458cfefe1fa1e536617c906367795add2
cpupower tool: allow to build in a separate directory

This patch allows cpupower tool to generate its output files in a
seperate directory. This is now possible by passing the 'O=<path>' to
the command line.

This can be usefull for a normal user if the kernel source code is
located in a read only location.

This is patch stole some bits of the perf makefile.

[linux@dominikbrodowski.net: fix commit message]
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
tools/power/cpupower/Makefile
tools/power/cpupower/bench/Makefile