linux_dsm_epyc7002/tools/power/x86/turbostat
Mark Asselstine ee0778a301 tools/power: turbostat: make Makefile a bit more capable
The turbostat Makefile is pretty simple, its output is placed in the
same directory as the source, the install rule has no concept of a
prefix or sysroot, and you can set CC to use a specific compiler but
not use the more familiar CROSS_COMPILE. By making a few minor changes
these limitations are removed while leaving the default behavior
matching what it used to be.

Example build with these changes:
make CROSS_COMPILE=i686-wrs-linux-gnu- DESTDIR=/tmp install

or from the tools directory
make CROSS_COMPILE=i686-wrs-linux-gnu- DESTDIR=/tmp turbostat_install

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2012-11-30 01:09:45 -05:00
..
Makefile tools/power: turbostat: make Makefile a bit more capable 2012-11-30 01:09:45 -05:00
turbostat.8 tools/power turbostat: v3.0: monitor Watts and Temperature 2012-11-30 01:09:44 -05:00
turbostat.c tools/power turbostat: v3.0: monitor Watts and Temperature 2012-11-30 01:09:44 -05:00