summaryrefslogtreecommitdiffstats
path: root/debian/rules.d/tools/power/x86/turbostat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules.d/tools/power/x86/turbostat/Makefile')
-rw-r--r--debian/rules.d/tools/power/x86/turbostat/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/rules.d/tools/power/x86/turbostat/Makefile b/debian/rules.d/tools/power/x86/turbostat/Makefile
new file mode 100644
index 000000000..4c4ed2cdf
--- /dev/null
+++ b/debian/rules.d/tools/power/x86/turbostat/Makefile
@@ -0,0 +1,7 @@
+PROGS = turbostat
+
+installdir = /usr/sbin
+
+include $(top_rulesdir)/Makefile.inc
+
+CPPFLAGS += -I"$(top_srcdir)/tools/include" -DMSRHEADER='"$(top_srcdir)/arch/x86/include/asm/msr-index.h"' -DINTEL_FAMILY_HEADER='"$(top_srcdir)/arch/x86/include/asm/intel-family.h"'