2024-10-23 12:12:30 +03:00
|
|
|
PROGS = turbostat
|
|
|
|
|
|
|
|
installdir = /usr/sbin
|
|
|
|
|
|
|
|
include $(top_rulesdir)/Makefile.inc
|
|
|
|
|
2024-10-29 05:12:06 +03:00
|
|
|
CPPFLAGS += -I$(top_srcdir)/tools/include
|
|
|
|
CPPFLAGS += -DMSRHEADER='"$(top_srcdir)/arch/x86/include/asm/msr-index.h"'
|
|
|
|
CPPFLAGS += -DINTEL_FAMILY_HEADER='"$(top_srcdir)/arch/x86/include/asm/intel-family.h"'
|
|
|
|
CPPFLAGS += -DBUILD_BUG_HEADER='"$(top_srcdir)/include/linux/build_bug.h"'
|
2024-10-23 12:12:30 +03:00
|
|
|
|
|
|
|
LDLIBS += -lcap -lrt
|