view run-from-build.sh @ 499:9d5fd8e1467b

Merge run-*.sh so run-emulator.sh takes command line arguments. Rename emulator-build.sh to be more clear what it does.
author Rob Landley <rob@landley.net>
date Fri, 28 Nov 2008 14:58:08 -0600
parents emulator-build.sh@06a005fcdacc
children e98ed40c55ef
line wrap: on
line source

#!/bin/bash

SAVEPATH="$PATH"
source include.sh
PATH="$SAVEPATH"

cd "${BUILD}/system-image-$ARCH" || exit 1

# A little paranoia.
fsck.ext2 -y "image-${ARCH}.ext2" </dev/null

# And run it, using the distccd we built (if necessary) and the cross-compiler.

PATH="$HOSTTOOLS:$PATH" ./run-emulator.sh --make-hdb 2048 --with-distcc "$CROSS"