]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu: Tweak scripts
authorRichard Purdie <richard@openedhand.com>
Tue, 16 Jan 2007 12:35:15 +0000 (12:35 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 16 Jan 2007 12:35:15 +0000 (12:35 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1145 311d38ba-8fff-0310-9ca6-ca027cbcb966

scripts/runqemu
scripts/runqemu-internal [changed mode: 0644->0755]
scripts/runqemu-standalone

index 433ceb7e35fa3a0af868f0e90691f7dd166e29d4..30fd0697c6d79ee25b0f05b0c957f18880568bbc 100755 (executable)
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
index 6e8218331e73c6e2887e0724ff540044d46c6e52..08829e933f56ff1e05619628a1fa0febc318b9c9 100755 (executable)
@@ -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