From 3e128c1bcd8f46a37923271b5b722b378eb72d06 Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Wed, 7 Jul 2021 21:32:44 -0700 Subject: 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 Signed-off-by: Christopher Clark Reviewed-by: Bertrand Marquis Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen-hypervisor.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes-extended/xen/xen-hypervisor.inc') 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() { } do_compile() { - oe_runmake xen PYTHON="${PYTHON}" + oe_runmake xen PYTHON="${PYTHON}" \ + EXTRA_CFLAGS_XEN_CORE="${EXTRA_CFLAGS_XEN_CORE}" } do_install() { -- cgit v1.2.3-54-g00ecf