qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	qemu-devel@nongnu.org, Anthony Liguori <aliguori@amazon.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH] configure: make it possible to disable IASL
Date: Sun, 24 Nov 2013 15:04:04 +0200	[thread overview]
Message-ID: <1385298244.2177.25.camel@localhost.localdomain> (raw)
In-Reply-To: <20131124095239.GA30786@redhat.com>

On Sun, 2013-11-24 at 11:52 +0200, Michael S. Tsirkin wrote:
> Useful for platforms with a broken IASL.
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  configure | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 0592ba7..d0a0abe 100755
> --- a/configure
> +++ b/configure
> @@ -1080,6 +1080,7 @@ echo "  --source-path=PATH       path of source code [$source_path]"
>  echo "  --cross-prefix=PREFIX    use PREFIX for compile tools [$cross_prefix]"
>  echo "  --cc=CC                  use C compiler CC [$cc]"
>  echo "  --iasl=IASL              use ACPI compiler IASL [$iasl]"
> +echo "                           iasl='' (empty string) disables ACPI compiler"
>  echo "  --host-cc=CC             use C compiler CC [$host_cc] for code run at"
>  echo "                           build time"
>  echo "  --cxx=CXX                use C++ compiler CXX [$cxx]"
> @@ -4269,7 +4270,7 @@ else
>  fi
>  echo "PYTHON=$python" >> $config_host_mak
>  echo "CC=$cc" >> $config_host_mak
> -if $iasl -h > /dev/null 2>&1; then
> +if test "$iasl" && $iasl -h > /dev/null 2>&1; then
>    echo "IASL=$iasl" >> $config_host_mak
>  fi
>  echo "CC_I386=$cc_i386" >> $config_host_mak

I tried to disable iasl without this patch and it worked for me...
I used:
    - [Qemu-devel] [PATCH] configure: make --iasl option actually work
    - ./configure --iasl="" (or --iasl=)
and it worked (no sign of IASL in config-host.mak)

I think this is because the prev test "$iasl -h > /dev/null 2>&1"
fails of course.

I don't get it how <test "$iasl"> helps if iasl is broken.
Thanks,
Marcel

  reply	other threads:[~2013-11-24 13:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-24  9:52 [Qemu-devel] [PATCH] configure: make it possible to disable IASL Michael S. Tsirkin
2013-11-24 13:04 ` Marcel Apfelbaum [this message]
2013-11-24 13:42   ` Michael S. Tsirkin
2013-11-24 13:54     ` Stefan Weil
2013-11-24 15:39       ` Michael S. Tsirkin
2013-11-24 16:48         ` Michael S. Tsirkin
2013-11-24 20:58           ` Stefan Weil
2013-11-25 11:26             ` Michael S. Tsirkin
2013-11-25 13:54               ` Marcel Apfelbaum
2013-11-25 17:27                 ` Stefan Weil

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=1385298244.2177.25.camel@localhost.localdomain \
    --to=marcel.apfelbaum@gmail.com \
    --cc=aliguori@amazon.com \
    --cc=marcel.a@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=stefanha@redhat.com \
    /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).