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/Makefile9
1 files changed, 9 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..eb5124d3a
--- /dev/null
+++ b/debian/rules.d/tools/power/x86/turbostat/Makefile
@@ -0,0 +1,9 @@
+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"'
+
+LDLIBS += -lcap -lrt