summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/xen-tools.inc
diff options
context:
space:
mode:
authorChristopher Clark <christopher.w.clark@gmail.com>2020-07-30 10:20:41 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-08-02 20:24:07 -0400
commit0db3901a48426ee403a045e0b626416c5fa93c6f (patch)
tree55218b917c891ec8c7a9d333379bc86cc0f176f7 /recipes-extended/xen/xen-tools.inc
parent27759eff63089f539ab9fac366498377ef6dd666 (diff)
downloadmeta-virtualization-0db3901a48426ee403a045e0b626416c5fa93c6f.tar.gz
xen, xen-tools: move tools-specific EXTRA_OECONF to xen-tools.inc
Since the hypervisor recipe does not install init scripts, it does not include update-rc.d.bbclass, which defines INIT_D_DIR; so move the use of that and systemd and qemu tools-specific configure settings over into the tools include file. Fix a hardcoded bindir while at it. 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-tools.inc')
-rw-r--r--recipes-extended/xen/xen-tools.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc
index 99e7e0b8..ace1a013 100644
--- a/recipes-extended/xen/xen-tools.inc
+++ b/recipes-extended/xen/xen-tools.inc
@@ -730,6 +730,14 @@ ADD_SYSROOT32_CFLAGS_x86-64 = \
730# This x86-64 override is never intended for native use, so clear that. 730# This x86-64 override is never intended for native use, so clear that.
731ADD_SYSROOT32_CFLAGS_class-native = "" 731ADD_SYSROOT32_CFLAGS_class-native = ""
732 732
733EXTRA_OECONF += " \
734 --with-systemd=${systemd_unitdir}/system \
735 --with-systemd-modules-load=${systemd_unitdir}/modules-load.d \
736 --with-initddir=${INIT_D_DIR} \
737 --with-sysconfig-leaf-dir=default \
738 --with-system-qemu=${bindir}/qemu-system-i386 \
739 "
740
733do_configure() { 741do_configure() {
734 do_configure_common 742 do_configure_common
735 743