b080939
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
b080939
index fd8e1f1..7af5e8c 100644
b080939
--- a/tools/power/x86/turbostat/Makefile
b080939
+++ b/tools/power/x86/turbostat/Makefile
b080939
@@ -1,8 +1,10 @@
b080939
+DESTDIR ?=
b080939
+
b080939
 turbostat : turbostat.c
b080939
 
b080939
 clean :
b080939
 	rm -f turbostat
b080939
 
b080939
 install :
b080939
-	install turbostat /usr/bin/turbostat
b080939
-	install turbostat.8 /usr/share/man/man8
b080939
+	install turbostat ${DESTDIR}/usr/bin/turbostat
b080939
+	install turbostat.8 ${DESTDIR}/usr/share/man/man8
b080939
diff --git a/tools/power/x86/x86_energy_perf_policy/Makefile b/tools/power/x86/x86_energy_perf_policy/Makefile
b080939
index f458237..f9824f0 100644
b080939
--- a/tools/power/x86/x86_energy_perf_policy/Makefile
b080939
+++ b/tools/power/x86/x86_energy_perf_policy/Makefile
b080939
@@ -1,8 +1,10 @@
b080939
+DESTDIR ?= 
b080939
+
b080939
 x86_energy_perf_policy : x86_energy_perf_policy.c
b080939
 
b080939
 clean :
b080939
 	rm -f x86_energy_perf_policy
b080939
 
b080939
 install :
b080939
-	install x86_energy_perf_policy /usr/bin/
b080939
-	install x86_energy_perf_policy.8 /usr/share/man/man8/
b080939
+	install x86_energy_perf_policy ${DESTDIR}/usr/bin/
b080939
+	install x86_energy_perf_policy.8 ${DESTDIR}/usr/share/man/man8/