[packages/kernel-tools] - updated to 4.8[.0] - updated x32 patch

qboosh qboosh at pld-linux.org
Thu Oct 6 19:08:19 CEST 2016


commit 51feff828b5dfa8072ed08e40911ff4a7754d559
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Oct 6 19:10:19 2016 +0200

    - updated to 4.8[.0]
    - updated x32 patch

 kernel-tools.spec | 15 +++++++--------
 x32.patch         |  8 ++++----
 2 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/kernel-tools.spec b/kernel-tools.spec
index 723f6a1..f1247c3 100644
--- a/kernel-tools.spec
+++ b/kernel-tools.spec
@@ -20,7 +20,7 @@
 %undefine	with_multilib
 %endif
 
-%define		basever		4.7
+%define		basever		4.8
 %define		postver		.0
 Summary:	Assortment of tools for the Linux kernel
 Summary(pl.UTF-8):	Zestaw narzędzi dla jądra Linuksa
@@ -30,7 +30,7 @@ Release:	2
 License:	GPL v2
 Group:		Applications/System
 Source0:	https://www.kernel.org/pub/linux/kernel/v4.x/linux-%{basever}.tar.xz
-# Source0-md5:	5276563eb1f39a048e4a8a887408c031
+# Source0-md5:	c1af0afbd3df35c1ccdc7a5118cd2d07
 Source1:	cpupower.service
 Source2:	cpupower.config
 %if "%{postver}" != ".0"
@@ -358,7 +358,7 @@ cd linux-%{basever}
 
 %{__sed} -i -e '/^CFLAGS = /s/ -g / $(OPTFLAGS) /' tools/hv/Makefile
 %{__sed} -i -e '/^CFLAGS+=/s/ -O1 / $(OPTFLAGS) /' tools/thermal/tmon/Makefile
-%{__sed} -i -e 's#libexec/perf-core#%{_datadir}/perf-core#g' tools/perf/config/Makefile
+%{__sed} -i -e 's#libexec/perf-core#%{_datadir}/perf-core#g' tools/perf/Makefile.config
 
 %build
 cd linux-%{basever}
@@ -368,13 +368,13 @@ cd linux-%{basever}
 
 # tools common (used eg. by tools/vm)
 %{__make} -C tools/lib/api \
-	CC="%{__cc}" \
+	%{makeopts} \
 	EXTRA_CFLAGS="%{rpmcflags}"
 
 # lsgpio
 CFLAGS="%{rpmcflags}" \
-%{__make} -C tools/gpio \
-	CC="%{__cc}"
+%{__make} -C tools/gpio -j1 \
+	%{makeopts}
 
 # HyperV is Windows based, x86 specific
 %ifarch %{ix86} %{x8664} x32
@@ -550,8 +550,7 @@ install -p tools/hv/hv_{fcopy,kvp,vss}_daemon $RPM_BUILD_ROOT%{_sbindir}
 chmod 755 $RPM_BUILD_ROOT%{_bindir}/lsvmbus
 %endif
 
-install -p tools/iio/{iio_event_monitor,lsiio} $RPM_BUILD_ROOT%{_bindir}
-install -p tools/iio/generic_buffer $RPM_BUILD_ROOT%{_bindir}/iio_generic_buffer
+install -p tools/iio/{iio_event_monitor,iio_generic_buffer,lsiio} $RPM_BUILD_ROOT%{_bindir}
 
 install -p tools/laptop/freefall/freefall $RPM_BUILD_ROOT%{_sbindir}
 
diff --git a/x32.patch b/x32.patch
index fddd823..394a046 100644
--- a/x32.patch
+++ b/x32.patch
@@ -16,10 +16,10 @@ FIXME: regs_load.S need complete x32 ABI support; now it will just compile, but
 +else
 +  IS_X32_BIT := 0
 +endif
---- linux-3.19/tools/perf/config/Makefile~	2015-04-11 12:12:31.000000000 +0200
-+++ linux-3.19/tools/perf/config/Makefile	2015-04-11 12:19:05.011244885 +0200
-@@ -28,6 +28,9 @@
-     LIBUNWIND_LIBS = -lunwind -lunwind-x86
+--- linux-4.8/tools/perf/Makefile.config~	2015-04-11 12:12:31.000000000 +0200
++++ linux-4.8/tools/perf/Makefile.config	2015-04-11 12:19:05.011244885 +0200
+@@ -41,6 +41,9 @@
+     LIBUNWIND_LIBS = -lunwind-x86 -llzma -lunwind
    endif
    NO_PERF_REGS := 0
 +  ifeq (${IS_X32_BIT}, 1)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel-tools.git/commitdiff/51feff828b5dfa8072ed08e40911ff4a7754d559



More information about the pld-cvs-commit mailing list