From: Wei Liu <wei.liu2@citrix.com>
To: Roger Pau Monne <roger.pau@citrix.com>
Cc: xen-devel@lists.xenproject.org, Wei Liu <wei.liu2@citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>
Subject: Re: [PATCH v2] tools/configure: fix --with-system-{ovmf/seabios}
Date: Tue, 27 Sep 2016 10:26:34 +0100 [thread overview]
Message-ID: <20160927092634.GE16004@citrix.com> (raw)
In-Reply-To: <1474963997-24085-1-git-send-email-roger.pau@citrix.com>
On Tue, Sep 27, 2016 at 10:13:17AM +0200, Roger Pau Monne wrote:
> Current configure code doesn't define {SEABIOS/OVMF}_PATH when
> --with-system-{ovmf/seabios} is used. Fix this by making sure those defines
> are always set if the internal {ovmf/seabios}_path variables are also set.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> Suggested-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
> Cc: Wei Liu <wei.liu2@citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> ---
> Please re-run autogen.sh before committing.
> ---
> tools/configure.ac | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/configure.ac b/tools/configure.ac
> index f010d72..5724ace 100644
> --- a/tools/configure.ac
> +++ b/tools/configure.ac
> @@ -222,7 +222,7 @@ AC_ARG_WITH([system-seabios],
> *) seabios_path=$withval ;;
> esac
> ],[])
> -AS_IF([test "x$seabios" = "xy"], [
> +AS_IF([test "x$seabios" = "xy" -o -n "$seabios_path" ], [
> AC_DEFINE_UNQUOTED([SEABIOS_PATH],
> ["${seabios_path:-$XENFIRMWAREDIR/seabios.bin}"],
> [SeaBIOS path])
> @@ -239,7 +239,7 @@ AC_ARG_WITH([system-ovmf],
> *) ovmf_path=$withval ;;
> esac
> ],[])
> -AS_IF([test "x$ovmf" = "xy"], [
> +AS_IF([test "x$ovmf" = "xy" -o -n "$ovmf_path" ], [
> AC_DEFINE_UNQUOTED([OVMF_PATH],
> ["${ovmf_path:-$XENFIRMWAREDIR/ovmf.bin}"],
> [OVMF path])
> --
> 2.7.4 (Apple Git-66)
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
prev parent reply other threads:[~2016-09-27 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-27 8:13 [PATCH v2] tools/configure: fix --with-system-{ovmf/seabios} Roger Pau Monne
2016-09-27 9:26 ` Wei Liu [this message]
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=20160927092634.GE16004@citrix.com \
--to=wei.liu2@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=roger.pau@citrix.com \
--cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.