diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2021-07-07 21:32:44 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-14 15:33:10 -0400 |
commit | 3e128c1bcd8f46a37923271b5b722b378eb72d06 (patch) | |
tree | a7f06794b053144a7ad4307b76b951c663c62504 /recipes-extended/xen/xen-tools.inc | |
parent | 4d61693058271667a5f30a92d8f40c96ff1c16ba (diff) | |
download | meta-virtualization-3e128c1bcd8f46a37923271b5b722b378eb72d06.tar.gz |
xen, xen-tools: fix build and passing of CFLAGS via Xen vars
Ensure that the Xen build system variables EXTRA_CFLAGS_XEN_CORE and
EXTRA_CFLAGS_XEN_TOOLS are passed into the compile steps.
Update the hypervisor compilation to avoid passing in most compile flags
from the build environment via EXTRA_CFLAGS_XEN_CORE -- prefer the
compiler defaults and the flags set by the Xen build system, so only the
debug prefix flags are provided.
Observeration derived from the prior commit e99974aa, so:
Reported-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/xen/xen-tools.inc')
-rw-r--r-- | recipes-extended/xen/xen-tools.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index 3560e798..2930097c 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
@@ -727,7 +727,8 @@ do_configure() { | |||
727 | 727 | ||
728 | do_compile() { | 728 | do_compile() { |
729 | cd ${S} | 729 | cd ${S} |
730 | oe_runmake tools PYTHON="${PYTHON}" | 730 | oe_runmake tools PYTHON="${PYTHON}" \ |
731 | EXTRA_CFLAGS_XEN_TOOLS="${EXTRA_CFLAGS_XEN_TOOLS}" | ||
731 | } | 732 | } |
732 | 733 | ||
733 | do_install() { | 734 | do_install() { |