summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/xen-hypervisor.inc
diff options
context:
space:
mode:
authorChristopher Clark <christopher.w.clark@gmail.com>2021-07-07 21:32:44 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-07-14 15:33:10 -0400
commit3e128c1bcd8f46a37923271b5b722b378eb72d06 (patch)
treea7f06794b053144a7ad4307b76b951c663c62504 /recipes-extended/xen/xen-hypervisor.inc
parent4d61693058271667a5f30a92d8f40c96ff1c16ba (diff)
downloadmeta-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-hypervisor.inc')
-rw-r--r--recipes-extended/xen/xen-hypervisor.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-extended/xen/xen-hypervisor.inc b/recipes-extended/xen/xen-hypervisor.inc
index 916bd3ce..9b96d91e 100644
--- a/recipes-extended/xen/xen-hypervisor.inc
+++ b/recipes-extended/xen/xen-hypervisor.inc
@@ -49,7 +49,8 @@ do_configure() {
49} 49}
50 50
51do_compile() { 51do_compile() {
52 oe_runmake xen PYTHON="${PYTHON}" 52 oe_runmake xen PYTHON="${PYTHON}" \
53 EXTRA_CFLAGS_XEN_CORE="${EXTRA_CFLAGS_XEN_CORE}"
53} 54}
54 55
55do_install() { 56do_install() {