# HG changeset patch # User Rob Landley # Date 1237558006 18000 # Node ID b4ea140d2439670533a934b5b7d07d86392055a3 # Parent a93ace5fbfc1b604eb34fe23c97b1fe0ea90969f Add $QEMU_EXTRA for emulator command line arguments. diff -r a93ace5fbfc1 -r b4ea140d2439 sources/toys/run-emulator.sh --- a/sources/toys/run-emulator.sh Thu Mar 19 23:37:33 2009 -0500 +++ b/sources/toys/run-emulator.sh Fri Mar 20 09:06:46 2009 -0500 @@ -26,7 +26,7 @@ elif [ "$1" == "--memory" ] then shift - MEMORY="-m $1" + QEMU_EXTRA"-m $1 $QEMU_EXTRA" else ( echo "unknown argument $1" diff -r a93ace5fbfc1 -r b4ea140d2439 system-image.sh --- a/system-image.sh Thu Mar 19 23:37:33 2009 -0500 +++ b/system-image.sh Fri Mar 20 09:06:46 2009 -0500 @@ -140,9 +140,9 @@ APPEND="root=/dev/$ROOT rw init=/$TOOLSDIR/sbin/init.sh " fi - echo "-nographic -no-reboot -kernel \"$2\" \$WITH_HDB \$MEMORY ${HDA}" \ + echo "-nographic -no-reboot -kernel \"$2\" \$WITH_HDB ${HDA}" \ "-append \"${APPEND}panic=1 PATH=\$DISTCC_PATH_PREFIX/${TOOLSDIR}/bin" \ - "console=$CONSOLE \$KERNEL_EXTRA\"" + "console=$CONSOLE \$KERNEL_EXTRA\" \$QEMU_EXTRA" } # Write out a script to call the appropriate emulator. We split out the