From 0db3901a48426ee403a045e0b626416c5fa93c6f Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Thu, 30 Jul 2020 10:20:41 -0700 Subject: 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 Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen-tools.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'recipes-extended/xen/xen-tools.inc') 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 = \ # This x86-64 override is never intended for native use, so clear that. ADD_SYSROOT32_CFLAGS_class-native = "" +EXTRA_OECONF += " \ + --with-systemd=${systemd_unitdir}/system \ + --with-systemd-modules-load=${systemd_unitdir}/modules-load.d \ + --with-initddir=${INIT_D_DIR} \ + --with-sysconfig-leaf-dir=default \ + --with-system-qemu=${bindir}/qemu-system-i386 \ + " + do_configure() { do_configure_common -- cgit v1.2.3-54-g00ecf