mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2026-01-27 10:21:22 +01:00
[1] https://patchwork.yoctoproject.org/project/oe-core/patch/20251222200739.2278706-47-alex.kanavin@gmail.com/ Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
23 lines
835 B
C++
23 lines
835 B
C++
# 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"
|
|
|
|
# ovmf support has been removed for 32 bit machines in yocto
|
|
EXTRA_IMAGEDEPENDS:remove:x86 = "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"
|