SPECS (LINUX_2_6_18): kernel-vanilla.spec - build vmlinuz for spar...

abram abram at pld-linux.org
Mon Dec 4 22:17:46 CET 2006


Author: abram                        Date: Mon Dec  4 21:17:46 2006 GMT
Module: SPECS                         Tag: LINUX_2_6_18
---- Log message:
- build vmlinuz for sparc*
- vmlinux.aout for sparc*
- vmlinux files to packages
- i will try build package on my sun 

---- Files affected:
SPECS:
   kernel-vanilla.spec (1.14.2.2 -> 1.14.2.3) 

---- Diffs:

================================================================
Index: SPECS/kernel-vanilla.spec
diff -u SPECS/kernel-vanilla.spec:1.14.2.2 SPECS/kernel-vanilla.spec:1.14.2.3
--- SPECS/kernel-vanilla.spec:1.14.2.2	Mon Dec  4 02:22:39 2006
+++ SPECS/kernel-vanilla.spec	Mon Dec  4 22:17:41 2006
@@ -692,11 +692,19 @@
 	install arch/%{_target_base_arch}/boot/bzImage $KERNEL_INSTALL_DIR/boot/vmlinuz-$KernelVer
 %endif
 
-%ifarch alpha
+%ifarch alpha sparc sparc64
 	gzip -cfv vmlinux > vmlinuz
+	install vmlinux $KERNEL_INSTALL_DIR/boot/vmlinux-$KernelVer
 	install vmlinuz $KERNEL_INSTALL_DIR/boot/vmlinuz-$KernelVer
+%ifarch sparc
+	elftoaout arch/sparc/boot/image -o vmlinux.aout
+	install vmlinux.aout $KERNEL_INSTALL_DIR/boot/vmlinux.aout-$KernelVer
+%endif
+%ifarch sparc64
+	elftoaout arch/sparc64/boot/image -o vmlinux.aout
+	install vmlinux.aout $KERNEL_INSTALL_DIR/boot/vmlinux.aout-$KernelVer
+%endif
 %endif
-
 %ifarch ppc
 	install vmlinux $KERNEL_INSTALL_DIR/boot/vmlinuz-$KernelVer
 %endif
@@ -971,8 +979,8 @@
 %files
 %defattr(644,root,root,755)
 %ifarch sparc sparc64
-/boot/vmlinux-%{ver_rel}
-%else
+/boot/vmlinux.aout-%{ver_rel}
+%endif
 /boot/vmlinuz-%{ver_rel}
 %endif
 /boot/System.map-%{ver_rel}
@@ -1076,11 +1084,7 @@
 %files smp
 %defattr(644,root,root,755)
 #doc FAQ-pl
-%ifarch sparc sparc64
-/boot/vmlinux-%{ver_rel}smp
-%else
 /boot/vmlinuz-%{ver_rel}smp
-%endif
 /boot/System.map-%{ver_rel}smp
 %ghost /boot/initrd-%{ver_rel}smp.gz
 %dir /lib/modules/%{ver_rel}smp
@@ -1254,6 +1258,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14.2.3  2006/12/04 21:17:41  abram
+- build vmlinuz for sparc*
+- vmlinux.aout for sparc*
+- vmlinux files to packages
+- i will try build package on my sun
+
 Revision 1.14.2.2  2006/12/04 01:22:39  shadzik
 - try again
 
================================================================

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



More information about the pld-cvs-commit mailing list