mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
linux-tools: update to 5.3.1.
This commit is contained in:
parent
1c23fc4c41
commit
8a80fe9e78
3 changed files with 6 additions and 25 deletions
|
@ -10,10 +10,11 @@
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
--- tools/power/x86/turbostat/turbostat.c.orig
|
--- tools/power/x86/turbostat/turbostat.c.orig
|
||||||
+++ tools/power/x86/turbostat/turbostat.c
|
+++ tools/power/x86/turbostat/turbostat.c
|
||||||
@@ -43,6 +43,7 @@
|
@@ -43,7 +43,8 @@
|
||||||
#include <cpuid.h>
|
#include <cpuid.h>
|
||||||
#include <linux/capability.h>
|
#include <linux/capability.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <math.h>
|
||||||
+#include <limits.h>
|
+#include <limits.h>
|
||||||
|
|
||||||
char *proc_stat = "/proc/stat";
|
char *proc_stat = "/proc/stat";
|
||||||
|
|
|
@ -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 :
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'linux-tools'
|
# Template file for 'linux-tools'
|
||||||
pkgname=linux-tools
|
pkgname=linux-tools
|
||||||
version=4.20
|
version=5.3.1
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="linux-${version}"
|
wrksrc="linux-${version}"
|
||||||
build_style=meta
|
build_style=meta
|
||||||
hostmakedepends="asciidoc automake flex libtool perl python xmlto"
|
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>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://www.kernel.org"
|
homepage="https://www.kernel.org"
|
||||||
distfiles="${KERNEL_SITE}/kernel/v4.x/linux-${version}.tar.xz"
|
distfiles="${KERNEL_SITE}/kernel/v5.x/linux-${version}.tar.xz"
|
||||||
checksum=ad0823183522e743972382df0aa08fb5ae3077f662b125f1e599b0b2aaa12438
|
checksum=9890b5a909d316211d045a95f5f0680e39749f2319cb26d7cd067efaa692f858
|
||||||
|
|
||||||
subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
|
subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue