SPECS (LINUX_2_6): kex.spec - KILLING Sparc32 !!! EXPERIMENTAL

cieciwa cieciwa at pld-linux.org
Thu Nov 10 09:59:10 CET 2005


Author: cieciwa                      Date: Thu Nov 10 08:59:10 2005 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- KILLING Sparc32 !!! 
	EXPERIMENTAL

---- Files affected:
SPECS:
   kex.spec (1.1.4.25 -> 1.1.4.26) 

---- Diffs:

================================================================
Index: SPECS/kex.spec
diff -u SPECS/kex.spec:1.1.4.25 SPECS/kex.spec:1.1.4.26
--- SPECS/kex.spec:1.1.4.25	Wed Nov  9 12:15:17 2005
+++ SPECS/kex.spec	Thu Nov 10 09:59:05 2005
@@ -9,8 +9,11 @@
 
 %ifarch sparc
 # sparc32 is missing important updates from 2.5 cycle - won't build
-%undefine	with_smp
+## %undefine	with_smp
+%define		_target_base_arch	sparc64
+%define		_target_cpu	sparc64
 %endif
+
 %ifarch ia64
 # broken
 %undefine	with_up
@@ -147,6 +150,7 @@
 BuildRequires:	diffutils
 %ifarch sparc sparc64
 BuildRequires:	elftoaout
+BuildRequires:	crosssparc64-gcc
 %endif
 BuildRequires:	module-init-tools
 BuildRequires:	perl-base
@@ -565,6 +569,11 @@
 CrossOpts=""
 %endif
 
+%ifarch sparc
+CrossOpts="ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_cpu}-pld-linux-"
+export DEPMOD=/bin/true
+%endif
+
 BuildConfig() {
 	%{?debug:set -x}
 	# is this a special kernel we want to build?
@@ -1128,6 +1137,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.1.4.26  2005/11/10 08:59:05  cieciwa
+- KILLING Sparc32 !!!
+	EXPERIMENTAL
+
 Revision 1.1.4.25  2005/11/09 11:15:17  cieciwa
 - updated to 2.6.14.1,
 - _rel 1,
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kex.spec?r1=1.1.4.25&r2=1.1.4.26&f=u




More information about the pld-cvs-commit mailing list