b080939
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
af258da
index f856495..984cc00 100644
b080939
--- a/tools/power/x86/turbostat/Makefile
b080939
+++ b/tools/power/x86/turbostat/Makefile
af258da
@@ -1,3 +1,5 @@
b080939
+DESTDIR ?=
b080939
+
b080939
 turbostat : turbostat.c
af258da
 CFLAGS +=	-Wall
b080939
 
af258da
@@ -5,5 +7,5 @@ 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/