[packages/kernel-tools] - updated to 4.7[.0]
qboosh
qboosh at pld-linux.org
Thu Aug 25 21:18:08 CEST 2016
commit dbaf19f872c96885e1ec33fc7df93b4855ccd9bb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Aug 25 21:19:22 2016 +0200
- updated to 4.7[.0]
kernel-tools.spec | 11 ++++++++---
x32.patch | 5 +++--
2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/kernel-tools.spec b/kernel-tools.spec
index 28881a1..8e4e629 100644
--- a/kernel-tools.spec
+++ b/kernel-tools.spec
@@ -18,17 +18,17 @@
%undefine with_multilib
%endif
-%define basever 4.4
+%define basever 4.7
%define postver .0
Summary: Assortment of tools for the Linux kernel
Summary(pl.UTF-8): Zestaw narzędzi dla jądra Linuksa
Name: kernel-tools
Version: %{basever}%{postver}
-Release: 3
+Release: 1
License: GPL v2
Group: Applications/System
Source0: https://www.kernel.org/pub/linux/kernel/v4.x/linux-%{basever}.tar.xz
-# Source0-md5: 9a78fa2eb6c68ca5a40ed5af08142599
+# Source0-md5: 5276563eb1f39a048e4a8a887408c031
Source1: cpupower.service
Source2: cpupower.config
%if "%{postver}" != ".0"
@@ -288,6 +288,10 @@ CFLAGS="%{rpmcflags}" \
CC="%{__cc}"
%endif
+%{__make} -C tools/lib/api \
+ CC="%{__cc}" \
+ EXTRA_CFLAGS="%{rpmcflags}"
+
# page-types, slabinfo
%{__make} -C tools/vm page-types slabinfo \
CC="%{__cc}" \
@@ -429,6 +433,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libcpupower.so
%{_includedir}/cpufreq.h
+%{_includedir}/cpuidle.h
%if %{with perf}
%files perf
diff --git a/x32.patch b/x32.patch
index aecbedc..fddd823 100644
--- a/x32.patch
+++ b/x32.patch
@@ -1,5 +1,6 @@
---- linux-3.19/tools/perf/config/Makefile.arch~ 2015-02-09 03:54:22.000000000 +0100
-+++ linux-3.19/tools/perf/config/Makefile.arch 2015-04-11 12:17:45.107911011 +0200
+FIXME: regs_load.S need complete x32 ABI support; now it will just compile, but tests won't run properly.
+--- linux-4.7/tools/scripts/Makefile.arch~ 2015-02-09 03:54:22.000000000 +0100
++++ linux-4.7/tools/scripts/Makefile.arch 2015-04-11 12:17:45.107911011 +0200
@@ -24,8 +24,14 @@
ARCH ?= $(RAW_ARCH)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel-tools.git/commitdiff/dbaf19f872c96885e1ec33fc7df93b4855ccd9bb
More information about the pld-cvs-commit
mailing list