SPECS (LINUX_2_6): kernel.spec - try to fix ppc builds for external modules...

arekm arekm at pld-linux.org
Tue Nov 4 09:32:15 CET 2008


Author: arekm                        Date: Tue Nov  4 08:32:15 2008 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- try to fix ppc builds for external modules (untested yet)

---- Files affected:
SPECS:
   kernel.spec (1.441.2.2000 -> 1.441.2.2001) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.2000 SPECS/kernel.spec:1.441.2.2001
--- SPECS/kernel.spec:1.441.2.2000	Tue Nov  4 00:11:47 2008
+++ SPECS/kernel.spec	Tue Nov  4 09:32:08 2008
@@ -285,6 +285,8 @@
 Patch140:	kernel-unionfs.patch
 Patch141:	kernel-unionfs-apparmor.patch
 
+Patch150:	kernel-ppc-crtsavres.patch
+
 Patch200:	linux-2.6-ppc-ICE-hacks.patch
 
 # The following patch extend the routing functionality in Linux
@@ -894,6 +896,8 @@
 %endif
 %endif
 
+%patch150 -p1
+
 %ifarch ppc ppc64
 #patch200 -p1
 %endif
@@ -1564,6 +1568,9 @@
 /lib/modules/%{kernel_release}/build
 %{_kernelsrcdir}/Kbuild
 %{_kernelsrcdir}/localversion
+%ifarch ppc ppc64
+%{_kernelsrcdir}/arch/powerpc/lib/crtsavres.*
+%endif
 %{_kernelsrcdir}/arch/*/kernel/asm-offsets*
 %{_kernelsrcdir}/arch/*/kernel/sigframe*.h
 %{_kernelsrcdir}/drivers/lguest/lg.h
@@ -1593,6 +1600,9 @@
 %{_kernelsrcdir}/arch/*/kernel/[!M]*
 %{_kernelsrcdir}/arch/ia64/kvm
 %{_kernelsrcdir}/arch/powerpc/kvm
+%ifarch ppc ppc64
+%exclude %{_kernelsrcdir}/arch/powerpc/lib/crtsavres.
+%endif
 %{_kernelsrcdir}/arch/s390/kvm
 %{_kernelsrcdir}/arch/x86/kvm
 %exclude %{_kernelsrcdir}/arch/*/kernel/asm-offsets*
@@ -1640,6 +1650,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.2001  2008/11/04 08:32:08  arekm
+- try to fix ppc builds for external modules (untested yet)
+
 Revision 1.441.2.2000  2008/11/03 23:11:47  arekm
 - rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel.spec?r1=1.441.2.2000&r2=1.441.2.2001&f=u



More information about the pld-cvs-commit mailing list