[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] configure: Support --target-list=? to list avai
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [PATCH] configure: Support --target-list=? to list available targets |
Date: |
Thu, 21 Apr 2011 19:45:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110307 Iceowl/1.0b1 Icedove/3.0.11 |
Am 21.04.2011 15:10, schrieb Peter Maydell:
Add support for getting configure to print the list of all targets
that can be built, via the option '--target-list=?'.
Signed-off-by: Peter Maydell <address@hidden>
---
Yes, you can get the list of targets by running configure without
any arguments and then scrolling up to find the target list in
the screenful of output, but I think this is a bit more user-friendly.
configure | 36 ++++++++++++++++++++++--------------
1 files changed, 22 insertions(+), 14 deletions(-)
The qemu executable supports this use pattern (-cpu ?),
but it's unusual for configure.
Other options (--audio-drv-list=LIST, --audio-card-list=LIST)
show the available values in the help message (configure --help).
What about a similar help text for --target-list? Like this:
--target-list=LIST set target list []
Available targets: i386-softmmu ...
i386-linux-user ...
Users would not have to call configure twice to get the list of
available targets (the first call is configure --help because
they don't know whether it is --target, --targets, --targetlist
or --target-list).