forked from pool/cpupower
aa0dbb6615
- Update cpupower and turbostat to latest kernel v4.10 sources D library_cleanup.patch - Change .c file header file modification, modify in Makefile instead: D turbostat_set_asm_header_fixed.patch A turbostat_makefile_fix_asm_header.patch OBS-URL: https://build.opensuse.org/request/show/482046 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=61
16 lines
584 B
Diff
16 lines
584 B
Diff
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)
|