[oe-commits] Tom Rini : run-qemu.sh: Update docs / help output
git version control
git at git.openembedded.org
Sat Nov 13 17:55:21 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: dbaa6a1229cbdd1cfb0859b3eb0f9635fdb7b883
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=dbaa6a1229cbdd1cfb0859b3eb0f9635fdb7b883
Author: Tom Rini <tom_rini at mentor.com>
Date: Thu Nov 11 16:49:57 2010 -0700
run-qemu.sh: Update docs / help output
- The old second argument is the third argument now, so change that.
- Document the new second argument, libc
- Update the arch list
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
contrib/qemu/run-qemu.sh | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/contrib/qemu/run-qemu.sh b/contrib/qemu/run-qemu.sh
index 574bf72..60ae2b3 100755
--- a/contrib/qemu/run-qemu.sh
+++ b/contrib/qemu/run-qemu.sh
@@ -3,8 +3,10 @@
# This script helps in launching QEMU to emulate OE based target systems
# It accepts 2 arguments
# First argument is the target architectures
-# second argument is empty if you want to do a complete init or
-# 'single' if booting into /bin/sh
+# Second argument is empty if your distribution does not encode the libc
+# into the deploy subdirectory structure.
+# Third argument is empty if you wish to boot the system up fully or
+# 'single' if you wish to use /bin/sh as init.
# It assumes that bridge is setup on the eth0 device on the host systems
# on debian-like systems
@@ -54,12 +56,13 @@
# from dhcp server. Note that this option is not entertained if networking
# is disabled
-supported_archs="{arm mips mipsel ppc sh4 x86}"
+supported_archs="{arm mips mips64 mipsel mips64el ppc sh4 x86}"
if [ $# -lt 2 ]; then
echo -en "
- Usage: `basename $0` <arch> <libc>
+ Usage: `basename $0` <arch> <libc> [single|empty]
where <arch> is one $supported_archs
- libc is uclibc glibc or eglibc
+ libc is uclibc glibc or eglibc (used in the deploy directory)
+ single may be passed to use /bin/sh as init or omitted.
Example: `basename $0` arm eglibc
"
exit 0
More information about the Openembedded-commits
mailing list