SHA256
1
0
forked from pool/cpupower
cpupower/turbostat_makefile_fix_asm_header.patch
Thomas Renninger 8b6a3f5491 Accepting request 692327 from home:trenn:branches:hardware
- Update to latest kernel HEAD sources
  (5.1-rc4, 15ade5d2e7775667cf191cf2f94327a4889f8b9d)
Patches included mainline:
D cpupower_fix_compilation_and_sysfs_read_file_mess.patch
D cpupower_bash-completion_for_cpupower_tool.patch
Adjusted patches:
M turbostat_makefile_fix_asm_header.patch
M x86_perf_makefile_fix_asm_header.patch
M rapl_monitor.patch
M cpupower_rapl.patch

OBS-URL: https://build.opensuse.org/request/show/692327
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=89
2019-04-08 14:47:04 +00:00

16 lines
643 B
Diff

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)