Revision 1e73dd2a scripts/compile_toolchain.sh

View differences:

scripts/compile_toolchain.sh
6 6
_now="$(date +'%Y_%m_%d_%H_%M')"
7 7
_dirname=$_description$_separator$_now
8 8
./scripts/diffconfig.sh > $MAIN_DIR/config.diff
9

  
9 10
make
11

  
10 12
BIN_DIR="$MAIN_DIR/bin/realview"
11
cd $BIN_DIR 
13
cd $BIN_DIR
12 14
echo $(pwd)
13 15
mkdir $_dirname
14 16

  
......
22 24

  
23 25
# find . -maxdepth 1 -type f -name '*' -exec mv -n {} ./$_now \;
24 26
echo "All binary files are in ./bin/realview/$_dirname"
25
ELF_FILE_PATH=$BIN_DIR$_dirname"/openwrt-realview-vmlinux-initramfs.elf"
26
qemu-system-arm -M realview-eb-mpcore -kernel $ELF_FILE_PATH -net nic -net user -nographic
27
# ELF_FILE_PATH=$BIN_DIR$_dirname"/openwrt-realview-vmlinux-initramfs.elf"
28
# qemu-system-arm -M realview-eb-mpcore -kernel $ELF_FILE_PATH -net nic -net user -nographic

Also available in: Unified diff