]> git.pld-linux.org Git - packages/kernel-tools.git/commitdiff
- updated to 4.8[.0]
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 6 Oct 2016 17:10:19 +0000 (19:10 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 6 Oct 2016 17:10:19 +0000 (19:10 +0200)
- updated x32 patch

kernel-tools.spec
x32.patch

index 723f6a11665b5a12c0022da9e9f1ef2c84e133c5..f1247c37b3d4fbedb7356d7d6f0b195a286314b6 100644 (file)
@@ -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}
 
index fddd823d6bf7d3ab3f87d6592b97d271778877e2..394a046795526b3b00f1345087457902c632dd3f 100644 (file)
--- 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)
This page took 0.181 seconds and 4 git commands to generate.