SPECS (LINUX_2_6): kernel.spec - "make everything as simple as possible, bu...

zbyniu zbyniu at pld-linux.org
Sat May 10 12:52:48 CEST 2008


Author: zbyniu                       Date: Sat May 10 10:52:48 2008 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- "make everything as simple as possible, but not simpler"

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1894 -> 1.441.2.1895) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1894 SPECS/kernel.spec:1.441.2.1895
--- SPECS/kernel.spec:1.441.2.1894	Sat May 10 10:21:34 2008
+++ SPECS/kernel.spec	Sat May 10 12:52:42 2008
@@ -461,7 +461,7 @@
 %define		_kernelsrcdir	/usr/src/linux%{_alt_kernel}-%{version}
 
 %if "%{_target_base_arch}" != "%{_arch}"
-	%define	CrossOpts ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_cpu}-pld-linux-
+	%define CrossOpts ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_cpu}-pld-linux-
 	%define	DepMod /bin/true
 
 	%if "%{_arch}" == "sparc" && "%{_target_base_arch}" == "sparc64"
@@ -478,14 +478,18 @@
 	%define	CrossOpts ARCH=%{_target_base_arch} CC="%{__cc}"
 	%define	DepMod /sbin/depmod
 	%endif
+	
+	%ifarch ppc ppc64
+	%define CrossOpts ARCH=powerpc CROSS_COMPILE=%{_target_cpu}-pld-linux-
+	%endif
 %else
-	%define	DepMod /sbin/depmod
-%endif
 	%ifarch ppc ppc64
 	%define CrossOpts ARCH=powerpc CC="%{__cc}"
 	%else
 	%define CrossOpts ARCH=%{_target_base_arch} CC="%{__cc}"
 	%endif
+	%define	DepMod /sbin/depmod
+%endif
 
 %define __features Netfilter module dated: %{netfilter_snap}\
 %{?with_abi:Linux ABI support - enabled}\
@@ -1707,6 +1711,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1895  2008-05-10 10:52:42  zbyniu
+- "make everything as simple as possible, but not simpler"
+
 Revision 1.441.2.1894  2008-05-10 08:21:34  zbyniu
 - up to 2.6.25.3; TODO updated
 - ppc-export-copy_page.patch in mainline
================================================================

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



More information about the pld-cvs-commit mailing list