]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tools: Allow tools to be installed in a user specified location
authorJosh Boyer <jwboyer@redhat.com>
Tue, 30 Oct 2012 17:38:05 +0000 (13:38 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 1 Nov 2012 04:22:10 +0000 (00:22 -0400)
commitb63cb742e185caf39cc0238d151076a6d06832c5
treea86d8824f32067094d6ed32ac63e54964b26944b
parent8e95037d0d9172c87a2b4ebeaff49c4e793ee5d2
tools: Allow tools to be installed in a user specified location

When building x86_energy_perf_policy or turbostat within the confines of
a packaging system such as RPM, we need to be able to have it install to
the buildroot and not the root filesystem of the build machine.  This
adds a DESTDIR variable that when set will act as a prefix for the
install location of these tools.

Signed-off-by: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/Makefile
tools/power/x86/x86_energy_perf_policy/Makefile