From e3f2c2aa950cb583606d59681a64e7ede0ff8176 Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Tue, 20 Dec 2011 14:51:53 -0500 Subject: [PATCH] Include crtsaves.o for ppc64 as well (rhbz #769415) --- kernel.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel.spec b/kernel.spec index f163f0eee..c97b235e1 100644 --- a/kernel.spec +++ b/kernel.spec @@ -54,7 +54,7 @@ Summary: The Linux kernel # For non-released -rc kernels, this will be appended after the rcX and # gitX tags, so a 3 here would become part of release "0.rcX.gitX.3" # -%global baserelease 9 +%global baserelease 10 %global fedora_build %{baserelease} # base_sublevel is the kernel version we're starting with and patching @@ -1704,7 +1704,7 @@ BuildKernel() { fi rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o -%ifarch ppc +%ifarch ppc ppc64 cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ %endif if [ -d arch/%{asmarch}/include ]; then @@ -2229,6 +2229,7 @@ fi %changelog * Tue Dec 20 2011 Josh Boyer - Backport upstream fix for b44_poll oops (rhbz #741117) +- Include crtsaves.o for ppc64 as well (rhbz #769415) * Mon Dec 19 2011 Kyle McMartin - 3.1.5-8 - Add versioned Obsoletes and Provides for kernel-tools -> perf, hopefully