All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: Keir Fraser <keir@xen.org>,
	Ian Campbell <ian.campbell@citrix.com>, Tim Deegan <tim@xen.org>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	xen-devel@lists.xen.org, Jan Beulich <jbeulich@suse.com>
Subject: Re: [PATCH v2] INSTALL: correct EXTRA_CFLAGS handling
Date: Tue, 25 Nov 2014 11:13:42 -0500	[thread overview]
Message-ID: <20141125161342.GK29886@konrad-lan.dumpdata.com> (raw)
In-Reply-To: <1416931449-30679-1-git-send-email-olaf@aepfle.de>

On Tue, Nov 25, 2014 at 05:04:09PM +0100, Olaf Hering wrote:
> The already documented configure patch was not applied.
> Adjust documentation to describe existing behaviour.
> 
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Jan Beulich <jbeulich@suse.com>
> Cc: Keir Fraser <keir@xen.org>
> Cc: Tim Deegan <tim@xen.org>
> ---
> 
> resend due to lack of Cc: tags 
> 
>  INSTALL | 19 +++++++++----------
>  1 file changed, 9 insertions(+), 10 deletions(-)
> 
> diff --git a/INSTALL b/INSTALL
> index 6bb9d23..656c90a 100644
> --- a/INSTALL
> +++ b/INSTALL
> @@ -128,13 +128,6 @@ original xenstored will be used. Valid names are xenstored and
>  oxenstored.
>    --with-xenstored=name
>  
> -Using additional CFLAGS to build tools running in dom0 is required when
> -building distro packages. This is the option to pass things like
> -RPM_OPT_FLAGS.
> -  --with-extra-cflags-tools=EXTRA_CFLAGS
> -  --with-extra-cflags-qemu-traditional=EXTRA_CFLAGS
> -  --with-extra-cflags-qemu-upstream=EXTRA_CFLAGS
> -
>  Instead of starting the tools in dom0 with sysv runlevel scripts they
>  can also be started by systemd. If this option is enabled xenstored will
>  receive the communication socked directly from systemd. So starting it
> @@ -241,6 +234,12 @@ QEMU_UPSTREAM_URL=
>  QEMU_TRADITIONAL_URL=
>  SEABIOS_UPSTREAM_URL=
>  
> +Using additional CFLAGS to build tools running in dom0 is required when

Why the mention of 'buld tools running in dom0'? It sounds like it is
required to use dom0 to build tools?

Could you just say: ".. to build tools is required when.."

> +building distro packages. This can be used to pass RPM_OPT_FLAGS.
> +EXTRA_CFLAGS_XEN_TOOLS=
> +EXTRA_CFLAGS_QEMU_TRADITIONAL=
> +EXTRA_CFLAGS_QEMU_XEN=
> +
>  This variable can be used to use DIR/include and DIR/lib during build.
>  This is the same as PREPEND_LIB and PREPEND_INCLUDES. APPEND_LIB and
>  APPEND_INCLUDES= will be appended to the CFLAGS/LDFLAGS variable.
> @@ -310,10 +309,10 @@ sudo make install BOOT_DIR=/ood/path/boot EFI_DIR=/odd/path/efi
>  %build
>  export WGET=$(type -P false)
>  export GIT=$(type -P false)
> +export EXTRA_CFLAGS_XEN_TOOLS="$RPM_OPT_FLAGS"
> +export EXTRA_CFLAGS_QEMU_TRADITIONAL="$RPM_OPT_FLAGS"
> +export EXTRA_CFLAGS_QEMU_XEN="$RPM_OPT_FLAGS"
>  %configure \
> -        --with-extra-cflags-tools="$RPM_OPT_FLAGS" \
> -        --with-extra-cflags-qemu-traditional="$RPM_OPT_FLAGS" \
> -        --with-extra-cflags-qemu-upstream="$RPM_OPT_FLAGS" \
>          --with-initddir=%{_initddir}
>  unset CFLAGS CXXFLAGS FFLAGS LDFLAGS
>  make
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2014-11-25 16:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25 16:04 [PATCH v2] INSTALL: correct EXTRA_CFLAGS handling Olaf Hering
2014-11-25 16:13 ` Konrad Rzeszutek Wilk [this message]
2014-11-25 16:27   ` Olaf Hering
2014-11-25 17:51     ` Konrad Rzeszutek Wilk

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=20141125161342.GK29886@konrad-lan.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=olaf@aepfle.de \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.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.