INSTALL: correct EXTRA_CFLAGS handling
PATCH v2 1/1 INSTALL: correct EXTRA_CFLAGS handling
The already documented configure patch was not applied. Adjust documentation to describe existing behaviour.
---
resend due to lack of Cc: tags
INSTALL | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)
INSTALL +9 -10
@@ -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 +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
Quoted 35 lines · Olaf Hering
The already documented configure patch was not applied. Adjust documentation to describe existing behaviour.
Signed-off-by Olaf Hering <[email protected]>Cc Ian Campbell <[email protected]>Cc Ian Jackson <[email protected]>Cc Jan Beulich <[email protected]>Cc Keir Fraser <[email protected]>Cc Tim Deegan <[email protected]>---
resend due to lack of Cc: tags
INSTALL | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)INSTALL +0
-7@@ -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
INSTALL QEMU_UPSTREAM_URL= · line 237
Quoted 4 lines
INSTALL +1
-0@@ -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.."
Quoted 27 lines
INSTALL +8
-3+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
[email protected]
http://lists.xen.org/xen-devel
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 1 line · Olaf Hering
+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?
Does it really read like dom0 is required?! But I can change it as you suggest.
Olaf
Quoted 8 lines · Olaf Hering
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 1 line · Olaf Hering
+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?
Does it really read like dom0 is required?! But I can change it as you
It did to me but I am not an native English speaker.
Perhaps what you meant was 'build tools which will run in dom0' ?
Quoted 3 lines
suggest.
Olaf