runqemu: Tweak scripts

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1145 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2007-01-16 12:35:15 +00:00
parent 295818470a
commit 6531611d9a
3 changed files with 4 additions and 6 deletions

View File

@ -23,10 +23,6 @@ fi
PATH=$BUILDDIR/tmp/staging/$BUILD_SYS/bin:$BUILDDIR/tmp/cross/bin:$PATH
if [ -z "$QEMU_MEMORY" ]; then
QEMU_MEMORY="64M"
fi
if [ "x$1" = "x" ]; then
echo
echo "Run as $0 MACHINE IMAGETYPE ZIMAGE IMAGEFILE"
@ -96,7 +92,8 @@ else
echo "Warning: distccd not present, no distcc support loaded"
fi
source $OEROOT/scripts/runqemu-internal
INTERNAL_SCRIPT=`which runqemu-internal`
source $INTERNAL_SCRIPT
if [ -x "$DISTCCD" ]; then
killall distccd

0
scripts/runqemu-internal Normal file → Executable file
View File

View File

@ -40,5 +40,6 @@ if [ "x$MACHINE" = "x" ]; then
MACHINE=`basename $ZIMAGE | sed -e 's#.*-\([a-z]*\)-*[0-9]*..*#\1#'`
fi
source $OEROOT/scripts/runqemu-internal
INTERNAL_SCRIPT=`which runqemu-internal`
source $INTERNAL_SCRIPT