diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-02-25 16:16:01 -0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-02-27 16:59:23 -0500 |
commit | ea94bfc3441cb33b17f4eeac06ff23d450465baf (patch) | |
tree | 23785e65bad8e3e0b428a66dbbcbae964158bb98 /recipes-extended/xen/xen.inc | |
parent | a0964e2044cb1ccdd4f64173658ce7602257ff48 (diff) | |
download | meta-virtualization-ea94bfc3441cb33b17f4eeac06ff23d450465baf.tar.gz |
xen, xen-tools: remove stubs task and use multilib when necessary
The stubs task was MACHINE-specific due to the OE variables it accessed
which had forced unnecessary rebuild work in OpenXT's multi-MACHINE
builds.
The stubs task was generating a 32-bit header file to satisfy the Xen
tools firmware build to generate the hvmloader binary, which is only
needed on x86-64 targets where HVM-mode guests are enabled.
Remove this header file generation logic and similar in the configure
task, and in the cases where hvmloader is to be built use multilib to
provide a 32-bit sysroot and allow the build to obtain the needed 32-bit
materials from their source: glibc.
Building Xen tools for x86-64 with HVM-guest support enabled now
requires the following to be added to a build conf file
(eg. distro.conf, or local.conf) :
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/xen/xen.inc')
-rw-r--r-- | recipes-extended/xen/xen.inc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 1ac131ed..32e836a9 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
@@ -223,10 +223,6 @@ do_configure_common() { | |||
223 | oe_runconf EXTRA_CFLAGS_XEN_CORE="${EXTRA_CFLAGS_XEN_CORE}" \ | 223 | oe_runconf EXTRA_CFLAGS_XEN_CORE="${EXTRA_CFLAGS_XEN_CORE}" \ |
224 | EXTRA_CFLAGS_XEN_TOOLS="${EXTRA_CFLAGS_XEN_TOOLS}" \ | 224 | EXTRA_CFLAGS_XEN_TOOLS="${EXTRA_CFLAGS_XEN_TOOLS}" \ |
225 | PYTHON="${PYTHON}" | 225 | PYTHON="${PYTHON}" |
226 | |||
227 | if [ ! -e ${STAGING_INCDIR}/bits/long-double-32.h ]; then | ||
228 | cp ${STAGING_INCDIR}/bits/long-double-64.h ${STAGING_INCDIR}/bits/long-double-32.h | ||
229 | fi | ||
230 | } | 226 | } |
231 | 227 | ||
232 | do_compile_prepend() { | 228 | do_compile_prepend() { |