mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00

When building an image for intel-corei7-64 (and probably other targets) it was not possible to directly start the image with runqemu due to missing directory in sysroot related to qemu-helper-native. In oe-core two patches has been applied that fixes dependency issues when building images for qemu. Those patches does also fix the issue when building for targets in meta-intel. Following two patches from oe-core, originally for meta/conf/machine/include/qemu.inc, are backported to conf/machine/include/qemu-intel.inc: 3a4fed4ae0 qemu.inc: Should depend on qemu-system-native, not qemu-native 5562342020 image/qemu: Add explict depends for qemu-helper addto_recipe_sysroot task Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
20 lines
734 B
PHP
20 lines
734 B
PHP
# Similar to meta/conf/machine/include/qemu.inc but influences the
|
|
# distro content (in particular the kernel) less than qemu.inc.
|
|
|
|
# Ensure that qemu gets built when building images.
|
|
EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot"
|
|
|
|
# Build ovmf firmware for uefi support in qemu.
|
|
EXTRA_IMAGEDEPENDS += "ovmf"
|
|
|
|
# runqemu uses virtio, so we have to enable the corresponding
|
|
# kernel drivers.
|
|
KERNEL_FEATURES_INTEL_COMMON += "cfg/virtio.scc"
|
|
|
|
# Other useful extensions which are not enabled by default:
|
|
# rng-tools to take advantage of qemu's virtio-rng-pci device.
|
|
# MACHINE_EXTRA_RRECOMMENDS += "rng-tools"
|
|
|
|
# Creates the necessary .qemuboot.conf file for each image.
|
|
IMAGE_CLASSES += "qemuboot"
|