From: "Andreas Färber" <afaerber@suse.de>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Anthony Liguori" <aliguori@us.ibm.com>,
patches@linaro.org, "Alexander Graf" <agraf@suse.de>,
qemu-devel@nongnu.org, "Andreas Färber" <andreas.faerber@web.de>,
qemu-ppc@nongnu.org,
"Peter Crosthwaite" <peter.crosthwaite@xilinx.com>,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>
Subject: Re: [Qemu-devel] [PATCH 1/4] configure: Require libfdt for arm, ppc, microblaze softmmu targets
Date: Tue, 28 May 2013 11:03:55 +0200 [thread overview]
Message-ID: <51A472FB.8020400@suse.de> (raw)
In-Reply-To: <1369409217-7553-2-git-send-email-peter.maydell@linaro.org>
Am 24.05.2013 17:26, schrieb Peter Maydell:
> A number of our softmmu targets (PPC, ARM, Microblaze) now more or
> less require flattened device tree support for various board models
> to work correctly. Make libfdt mandatory if the target list includes
> these, rather than building unhelpful half-functional binaries.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> configure | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/configure b/configure
> index 5ae7e4a..708c010 100755
> --- a/configure
> +++ b/configure
> @@ -2518,6 +2518,26 @@ fi
>
> ##########################################
> # fdt probe
> +# fdt support is mandatory for at least some target architectures,
> +# so insist on it if we're building those system emulators.
> +fdt_required=no
> +for target in $target_list; do
> + case $target in
> + arm*softmmu|ppc*softmmu|microblaze*softmmu)
Assuming you'll apply this through your tree, it would be more
self-explanatory to use foo*-softmmu despite no practical difference.
I'm guessing arm* is in preparation for a future armeb-softmmu?
Otherwise looks good; still have testing pseries on my TODO list.
Andreas
> + fdt_required=yes
> + ;;
> + esac
> +done
> +
> +if test "$fdt_required" = "yes"; then
> + if test "$fdt" = "no"; then
> + error_exit "fdt disabled but some requested targets require it." \
> + "You can turn off fdt only if you also disable all the system emulation" \
> + "targets which need it (by specifying a cut down --target-list)."
> + fi
> + fdt=yes
> +fi
> +
> if test "$fdt" != "no" ; then
> fdt_libs="-lfdt"
> cat > $TMPC << EOF
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2013-05-28 9:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-24 15:26 [Qemu-devel] [PATCH 0/4] Require libfdt for arm/microblaze/ppc softmmu targets Peter Maydell
2013-05-24 15:26 ` [Qemu-devel] [PATCH 1/4] configure: Require libfdt for arm, ppc, microblaze " Peter Maydell
2013-05-28 4:07 ` Peter Crosthwaite
2013-05-28 9:03 ` Andreas Färber [this message]
2013-05-28 9:39 ` Peter Maydell
2013-05-24 15:26 ` [Qemu-devel] [PATCH 2/4] arm: Remove CONFIG_FDT conditionals Peter Maydell
2013-05-28 4:09 ` Peter Crosthwaite
2013-05-24 15:26 ` [Qemu-devel] [PATCH 3/4] microblaze: " Peter Maydell
2013-05-28 4:10 ` Peter Crosthwaite
2013-05-24 15:26 ` [Qemu-devel] [PATCH 4/4] ppc: " Peter Maydell
2013-05-25 12:32 ` [Qemu-devel] [PATCH 0/4] Require libfdt for arm/microblaze/ppc softmmu targets Edgar E. Iglesias
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51A472FB.8020400@suse.de \
--to=afaerber@suse.de \
--cc=agraf@suse.de \
--cc=aliguori@us.ibm.com \
--cc=andreas.faerber@web.de \
--cc=edgar.iglesias@gmail.com \
--cc=patches@linaro.org \
--cc=peter.crosthwaite@xilinx.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).