SPECS (LINUX_2_6): kernel.spec - PPC64 more fixes ...

cieciwa cieciwa at pld-linux.org
Fri Mar 24 09:58:07 CET 2006


Author: cieciwa                      Date: Fri Mar 24 08:58:07 2006 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- PPC64 more fixes ...

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

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1440 SPECS/kernel.spec:1.441.2.1441
--- SPECS/kernel.spec:1.441.2.1440	Fri Mar 24 09:36:18 2006
+++ SPECS/kernel.spec	Fri Mar 24 09:58:00 2006
@@ -36,6 +36,10 @@
 %define		have_isa	0
 %endif
 
+%ifarch	ppc64
+%define		_target_base_arch	ppc
+%endif
+
 %ifarch sparc sparc64
 %undefine	with_pcmcia
 %define		have_drm	0
@@ -650,18 +654,14 @@
 		Config="%{_target_base_arch}"
 	fi
 	KernelVer=%{version}-%{release}$1
-%ifarch ppc64
-	echo "Building config file [using ppc-$smp.conf] for KERNEL $1..."
-	cat $RPM_SOURCE_DIR/kernel-ppc-$smp.config > arch/%{_target_base_arch}/defconfig
-	sed -i "s:# CONFIG_PPC64 is not set:CONFIG_PPC64=y:" arch/%{_target_base_arch}/defconfig
-%else
-	echo "Building config file [using $Config.conf] for KERNEL $1..."
-	cat $RPM_SOURCE_DIR/kernel-$Config.config > arch/%{_target_base_arch}/defconfig
-%endif
 %ifarch %{ix86}	
 	TuneUpConfigForIX86 arch/%{_target_base_arch}/defconfig
 %endif
 
+%ifarch ppc64
+	sed -i "s:# CONFIG_PPC64 is not set:CONFIG_PPC64=y:" arch/%{_target_base_arch}/defconfig
+%endif
+
 	# netfilter
 	cat %{SOURCE40} >> arch/%{_target_base_arch}/defconfig
 	
@@ -1372,6 +1372,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1441  2006/03/24 08:58:00  cieciwa
+- PPC64 more fixes ...
+
 Revision 1.441.2.1440  2006/03/24 08:36:18  cieciwa
 - PPC64 kernel config build - test !!
 
================================================================

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



More information about the pld-cvs-commit mailing list