linux-tools: update to 5.3.1.

This commit is contained in:
Leah Neukirchen 2019-09-25 22:54:38 +02:00 committed by Leah Neukirchen
parent 1c23fc4c41
commit 8a80fe9e78
3 changed files with 6 additions and 25 deletions

View File

@ -10,10 +10,11 @@
#include <asm/byteorder.h>
--- tools/power/x86/turbostat/turbostat.c.orig
+++ tools/power/x86/turbostat/turbostat.c
@@ -43,6 +43,7 @@
@@ -43,7 +43,8 @@
#include <cpuid.h>
#include <linux/capability.h>
#include <errno.h>
#include <math.h>
+#include <limits.h>
char *proc_stat = "/proc/stat";

View File

@ -1,20 +0,0 @@
--- tools/power/x86/turbostat/Makefile.orig
+++ tools/power/x86/turbostat/Makefile
@@ -8,13 +8,13 @@
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"'
+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"'
%: %.c
@mkdir -p $(BUILD_OUTPUT)
- $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@
+ $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@ $(LDFLAGS)
.PHONY : clean
clean :

View File

@ -1,7 +1,7 @@
# Template file for 'linux-tools'
pkgname=linux-tools
version=4.20
revision=2
version=5.3.1
revision=1
wrksrc="linux-${version}"
build_style=meta
hostmakedepends="asciidoc automake flex libtool perl python xmlto"
@ -13,8 +13,8 @@ short_desc="Linux kernel tools meta-pkg"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.kernel.org"
distfiles="${KERNEL_SITE}/kernel/v4.x/linux-${version}.tar.xz"
checksum=ad0823183522e743972382df0aa08fb5ae3077f662b125f1e599b0b2aaa12438
distfiles="${KERNEL_SITE}/kernel/v5.x/linux-${version}.tar.xz"
checksum=9890b5a909d316211d045a95f5f0680e39749f2319cb26d7cd067efaa692f858
subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"