SPECS (LINUX_2_6): kernel.spec - force sparc64 build on sparc arch...

arekm arekm at pld-linux.org
Thu Nov 10 10:10:40 CET 2005


Author: arekm                        Date: Thu Nov 10 09:10:40 2005 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- force sparc64 build on sparc arch (by cieciwa)

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1294 -> 1.441.2.1295) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1294 SPECS/kernel.spec:1.441.2.1295
--- SPECS/kernel.spec:1.441.2.1294	Wed Nov  9 14:15:14 2005
+++ SPECS/kernel.spec	Thu Nov 10 10:10:34 2005
@@ -103,8 +103,10 @@
 %{?debug:%define with_verbose 1}
 
 %ifarch sparc
-# sparc32 is missing important updates from 2.5 cycle - won't build
-%undefine	with_smp
+# sparc32 is missing important updates from 2.5 cycle - won't build.
+# We force sparc64 here.
+%define		_target_base_arch	sparc64
+%define		_target_cpu		sparc64
 %endif
 %ifarch ia64
 # broken
@@ -348,6 +350,9 @@
 URL:		http://www.kernel.org/
 BuildRequires:	binutils >= 2.14.90.0.7
 BuildRequires:	diffutils
+%ifarch sparc
+BuildRequires:	crosssparc64-gcc
+%endif
 %ifarch sparc sparc64
 BuildRequires:	elftoaout
 %endif
@@ -1712,6 +1717,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1295  2005/11/10 09:10:34  arekm
+- force sparc64 build on sparc arch (by cieciwa)
+
 Revision 1.441.2.1294  2005/11/09 13:15:14  pluto
 - vt1211 sensor is used on ia32 (via epia systems based on via c3 cpu).
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1294&r2=1.441.2.1295&f=u




More information about the pld-cvs-commit mailing list