]> git.pld-linux.org Git - packages/kernel-tools.git/commitdiff
- updated to 4.7[.0] auto/th/kernel-tools-4.7.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 Aug 2016 19:19:22 +0000 (21:19 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 Aug 2016 19:19:22 +0000 (21:19 +0200)
kernel-tools.spec
x32.patch

index 28881a1bc40a7797a3c85ee3ea2056ce37f897f8..8e4e6293660330e6e8aef3752c31cf24d1b271bb 100644 (file)
 %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
index aecbedc36d6fcf0dd0616cd7ca1ac32f41b881dd..fddd823d6bf7d3ab3f87d6592b97d271778877e2 100644 (file)
--- 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)
  
This page took 0.252925 seconds and 4 git commands to generate.