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

16 lines
643 B
Diff
Raw Normal View History

Index: turbostat-19.03.20/Makefile
===================================================================
--- turbostat-19.03.20.orig/Makefile 2019-04-08 16:09:47.094469287 +0200
+++ turbostat-19.03.20/Makefile 2019-04-08 16:10:18.490470979 +0200
@@ -10,8 +10,8 @@ endif
turbostat : turbostat.c
override CFLAGS += -Wall
-override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
-override CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
+override CFLAGS += -DMSRHEADER='"msr-index.h"'
+override CFLAGS += -DINTEL_FAMILY_HEADER='"intel-family.h"'
%: %.c
@mkdir -p $(BUILD_OUTPUT)