SHA256
1
0
forked from pool/cpupower
cpupower/turbostat_makefile_fix_asm_header.patch
Thomas Renninger aa0dbb6615 Accepting request 482046 from home:trenn:branches:hardware
- 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
2017-03-22 19:21:57 +00:00

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)