lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 48fa501 was f80fd8c, checked in by Martin Decky <martin@…>, 13 years ago |
allow to specify different machine from command line
|
-
Property mode
set to
100755
|
File size:
322 bytes
|
Rev | Line | |
---|
[9b9f195] | 1 | #!/bin/sh
|
---|
[3c5006a0] | 2 |
|
---|
[00fe6bb] | 3 | DISK_IMG=hdisk.img
|
---|
| 4 |
|
---|
| 5 | # Create a disk image if it does not exist
|
---|
| 6 | if [ ! -f "$DISK_IMG" ]; then
|
---|
[14f2100] | 7 | tools/mkfat.py 1048576 uspace/dist/data "$DISK_IMG"
|
---|
[00fe6bb] | 8 | fi
|
---|
| 9 |
|
---|
[f80fd8c] | 10 | if [ "$1" == "-E" ] && [ -n "$2" ]; then
|
---|
| 11 | MACHINE="$2"
|
---|
| 12 | shift 2
|
---|
| 13 | else
|
---|
| 14 | MACHINE="oldtestmips"
|
---|
| 15 | fi
|
---|
| 16 |
|
---|
| 17 | gxemul $@ -E "$MACHINE" -C R4000 -X image.boot -d d0:"$DISK_IMG"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.