mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
55f1f545f7
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>
10 lines
229 B
Makefile
10 lines
229 B
Makefile
DESTDIR ?=
|
|
|
|
x86_energy_perf_policy : x86_energy_perf_policy.c
|
|
|
|
clean :
|
|
rm -f x86_energy_perf_policy
|
|
|
|
install :
|
|
install x86_energy_perf_policy ${DESTDIR}/usr/bin/
|
|
install x86_energy_perf_policy.8 ${DESTDIR}/usr/share/man/man8/
|