Back to home page

OSCL-LXR

 
 

    


0001 #!/bin/sh
0002 #
0003 # This file is subject to the terms and conditions of the GNU General Public
0004 # License.  See the file "COPYING" in the main directory of this archive
0005 # for more details.
0006 #
0007 # Copyright (C) 1995 by Linus Torvalds
0008 #
0009 # Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin
0010 #
0011 # "make install" script for SPARC architecture
0012 #
0013 # Arguments:
0014 #   $1 - kernel version
0015 #   $2 - kernel image file
0016 #   $3 - kernel map file
0017 #   $4 - default install path (blank if root directory)
0018 
0019 if [ -f $4/vmlinuz ]; then
0020         mv $4/vmlinuz $4/vmlinuz.old
0021 fi
0022 
0023 if [ -f $4/System.map ]; then
0024         mv $4/System.map $4/System.old
0025 fi
0026 
0027 cat $2 > $4/vmlinuz
0028 cp $3 $4/System.map