Also build qemus if a recipe is built for a MACHINE=qemuXXX. Allow inheriting classes based on recipe context.
Signed-off-by: Juro Bystricky <juro.bystri...@intel.com> --- recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc index cb3c76b..078ea72 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc @@ -1,6 +1,7 @@ # Common settings for all Zephyr recipes -inherit zephyr +ZEPHYR_INHERIT_CLASSES += "zephyr" +inherit ${ZEPHYR_INHERIT_CLASSES} # There shouldn't be a manifest for zephyr kernels since there is no root # filesystem. @@ -16,6 +17,8 @@ INHIBIT_DEFAULT_DEPS = "1" DEPENDS += "gcc-cross-${TARGET_ARCH} libgcc ${TOOLCHAIN_TARGET_TASK}" CROSS_COMPILE = "${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}" +DEPENDS_append_qemuall = " qemu-native qemu-helper-native" + do_configure[noexec] = "1" # The makefiles are explicit about the flags they want, so don't unset @@ -35,3 +38,4 @@ OE_TERMINAL_EXPORTS += "ZEPHYR_SRC_DIR" OE_TERMINAL_EXPORTS += "ZEPHYR_BASE" OE_TERMINAL_EXPORTS += "ZEPHYR_SYSROOT" OE_TERMINAL_EXPORTS += "ZEPHYR_GCC_VARIANT" + -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto