diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-07-30 10:20:41 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-08-02 20:24:07 -0400 |
commit | 0db3901a48426ee403a045e0b626416c5fa93c6f (patch) | |
tree | 55218b917c891ec8c7a9d333379bc86cc0f176f7 | |
parent | 27759eff63089f539ab9fac366498377ef6dd666 (diff) | |
download | meta-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>
-rw-r--r-- | recipes-extended/xen/xen-tools.inc | 8 | ||||
-rw-r--r-- | recipes-extended/xen/xen.inc | 5 |
2 files changed, 8 insertions, 5 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. |
731 | ADD_SYSROOT32_CFLAGS_class-native = "" | 731 | ADD_SYSROOT32_CFLAGS_class-native = "" |
732 | 732 | ||
733 | EXTRA_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 | |||
733 | do_configure() { | 741 | do_configure() { |
734 | do_configure_common | 742 | do_configure_common |
735 | 743 | ||
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 3c1e3b95..9e8fcad2 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
@@ -118,17 +118,12 @@ EXTRA_OECONF += " \ | |||
118 | --exec-prefix=${prefix} \ | 118 | --exec-prefix=${prefix} \ |
119 | --prefix=${prefix} \ | 119 | --prefix=${prefix} \ |
120 | --host=${HOST_SYS} \ | 120 | --host=${HOST_SYS} \ |
121 | --with-systemd=${systemd_unitdir}/system \ | ||
122 | --with-systemd-modules-load=${systemd_unitdir}/modules-load.d \ | ||
123 | --disable-stubdom \ | 121 | --disable-stubdom \ |
124 | --disable-ioemu-stubdom \ | 122 | --disable-ioemu-stubdom \ |
125 | --disable-pv-grub \ | 123 | --disable-pv-grub \ |
126 | --disable-xenstore-stubdom \ | 124 | --disable-xenstore-stubdom \ |
127 | --disable-rombios \ | 125 | --disable-rombios \ |
128 | --disable-ocamltools \ | 126 | --disable-ocamltools \ |
129 | --with-initddir=${INIT_D_DIR} \ | ||
130 | --with-sysconfig-leaf-dir=default \ | ||
131 | --with-system-qemu=/usr/bin/qemu-system-i386 \ | ||
132 | --disable-qemu-traditional \ | 127 | --disable-qemu-traditional \ |
133 | " | 128 | " |
134 | 129 | ||