Author: paszczus                     Date: Fri Mar 24 10:56:47 2006 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- fixed ppc build config.

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1441 -> 1.441.2.1442) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1441 SPECS/kernel.spec:1.441.2.1442
--- SPECS/kernel.spec:1.441.2.1441      Fri Mar 24 09:58:00 2006
+++ SPECS/kernel.spec   Fri Mar 24 11:56:41 2006
@@ -36,8 +36,8 @@
 %define                have_isa        0
 %endif
 
-%ifarch        ppc64
-%define                _target_base_arch       ppc
+%ifarch        ppc64 ppc
+%define                _target_base_arch       powerpc
 %endif
 
 %ifarch sparc sparc64
@@ -654,8 +654,15 @@
                Config="%{_target_base_arch}"
        fi
        KernelVer=%{version}-%{release}$1
-%ifarch %{ix86}        
+
        TuneUpConfigForIX86 arch/%{_target_base_arch}/defconfig
+       
+%ifarch ppc ppc64
+       if [ "$smp" = "yes" ]; then
+           install %{SOURCE31} arch/powerpc/defconfig
+       else
+           install %{SOURCE30} arch/powerpc/defconfig
+       fi
 %endif
 
 %ifarch ppc64
@@ -802,14 +809,18 @@
        echo "KERNEL RELEASE $KernelVer DONE"
 }
 
+echo "Builde begining ..."
+
 KERNEL_BUILD_DIR=`pwd`
 echo "-%{release}" > localversion
+echo %{_arch}
 #install -m 644 %{SOURCE50} FAQ-pl
 
 # UP KERNEL
 KERNEL_INSTALL_DIR="$KERNEL_BUILD_DIR/build-done/kernel-UP"
 rm -rf $KERNEL_INSTALL_DIR
 BuildConfig
+exit 0
 %{?with_up:BuildKernel}
 %{?with_up:PreInstallKernel}
 # SMP KERNEL
@@ -1372,6 +1383,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1442  2006/03/24 10:56:41  paszczus
+- fixed ppc build config.
+
 Revision 1.441.2.1441  2006/03/24 08:58:00  cieciwa
 - PPC64 more fixes ...
 
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to