source: mainline/contrib/conf/mips32-gx.sh@ dc1d499

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since dc1d499 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
RevLine 
[9b9f195]1#!/bin/sh
[3c5006a0]2
[00fe6bb]3DISK_IMG=hdisk.img
4
5# Create a disk image if it does not exist
6if [ ! -f "$DISK_IMG" ]; then
[14f2100]7 tools/mkfat.py 1048576 uspace/dist/data "$DISK_IMG"
[00fe6bb]8fi
9
[f80fd8c]10if [ "$1" == "-E" ] && [ -n "$2" ]; then
11 MACHINE="$2"
12 shift 2
13else
14 MACHINE="oldtestmips"
15fi
16
17gxemul $@ -E "$MACHINE" -C R4000 -X image.boot -d d0:"$DISK_IMG"
Note: See TracBrowser for help on using the repository browser.