3 # arch/mn10300/boot/install -c.sh
5 # This file is subject to the terms and conditions of the GNU General Public
6 # Licence. See the file "COPYING" in the main directory of this archive
9 # Copyright (C) 1995 by Linus Torvalds
11 # Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin
13 # "make install -c" script for i386 architecture
17 # $2 - kernel image file
18 # $3 - kernel map file
19 # $4 - default install -c path (blank if root directory)
23 # User may have a custom install -c script
25 rm -fr $4/..
/usr
/include
/linux
$4/..
/usr
/include
/asm
26 install -c -m 0755 $2 $4/vmlinuz
27 install -c -m 0755 $5 $4/boot.rom
28 install -c -m 0755 -d $4/..
/usr
/include
/linux
29 cd $TOPDIR/include
/linux
30 for i
in `find . -maxdepth 1 -name '*.h' -print`; do
31 install -c -m 0644 $i $4/..
/usr
/include
/linux
33 install -c -m 0755 -d $4/..
/usr
/include
/linux
/byteorder
34 cd $TOPDIR/include
/linux
/byteorder
35 for i
in `find . -name '*.h' -print`; do
36 install -c -m 0644 $i $4/..
/usr
/include
/linux
/byteorder
38 install -c -m 0755 -d $4/..
/usr
/include
/linux
/lockd
39 cd $TOPDIR/include
/linux
/lockd
40 for i
in `find . -name '*.h' -print`; do
41 install -c -m 0644 $i $4/..
/usr
/include
/linux
/lockd
43 install -c -m 0755 -d $4/..
/usr
/include
/linux
/netfilter_ipv4
44 cd $TOPDIR/include
/linux
/netfilter_ipv4
45 for i
in `find . -name '*.h' -print`; do
46 install -c -m 0644 $i $4/..
/usr
/include
/linux
/netfilter_ipv4
48 install -c -m 0755 -d $4/..
/usr
/include
/linux
/nfsd
49 cd $TOPDIR/include
/linux
/nfsd
50 for i
in `find . -name '*.h' -print`; do
51 install -c -m 0644 $i $4/..
/usr
/include
/linux
/nfsd
/$i
53 install -c -m 0755 -d $4/..
/usr
/include
/linux
/raid
54 cd $TOPDIR/include
/linux
/raid
55 for i
in `find . -name '*.h' -print`; do
56 install -c -m 0644 $i $4/..
/usr
/include
/linux
/raid
58 install -c -m 0755 -d $4/..
/usr
/include
/linux
/sunrpc
59 cd $TOPDIR/include
/linux
/sunrpc
60 for i
in `find . -name '*.h' -print`; do
61 install -c -m 0644 $i $4/..
/usr
/include
/linux
/sunrpc
63 install -c -m 0755 -d $4/..
/usr
/include
/asm
64 cd $TOPDIR/include
/asm
65 for i
in `find . -name '*.h' -print`; do
66 install -c -m 0644 $i $4/..
/usr
/include
/asm