SHA256
1
0
forked from pool/cpupower
cpupower/turbostat_makefile_fix_asm_header.patch

16 lines
584 B
Diff
Raw Normal View History

Index: turbostat-4.16/Makefile
===================================================================
--- turbostat-4.16.orig/Makefile 2017-03-22 19:36:31.329182164 +0100
+++ turbostat-4.16/Makefile 2017-03-22 19:38:04.762500669 +0100
@@ -9,8 +9,8 @@ endif
turbostat : turbostat.c
CFLAGS += -Wall
-CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
-CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
+CFLAGS += -DMSRHEADER='"msr-index.h"'
+CFLAGS += -DINTEL_FAMILY_HEADER='"intel-family.h"'
%: %.c
@mkdir -p $(BUILD_OUTPUT)