OSDN Git Service

Add MS7619SE
[uclinux-h8/uClinux-dist.git] / bin / make_flashboot
1 #!/bin/sh
2 #
3 # get the current settings
4 #
5 set -e
6
7 CUR_DIR=`pwd`
8
9 cd $ROOTDIR
10
11 echo `pwd`
12
13 . ./$LINUXDIR/.config
14
15 if [ "$CONFIG_CLEOPATRA" = y ]; then
16         if [ "$CONFIG_M5307" = y ]; then
17                 bin/mkflashboot $ROOTDIR/vendors/Feith/boot/Cleopatra/fpga.bin $ROOTDIR/vendors/Feith/boot/Cleopatra/img_c1.dat CLEOPATRA-1
18         else
19                 bin/mkflashboot $ROOTDIR/vendors/Feith/boot/Cleopatra2/fpga.bin $ROOTDIR/vendors/Feith/boot/Cleopatra2/img_c2.dat CLEOPATRA-2
20         fi
21 else
22         echo "$0: Unknown config !" >&2
23         exit 1
24 fi
25
26 cd $CUR_DIR
27
28 exit 0