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

Adding to KERNEL_FEATURES causes the kernel tools to try to add the feature to all kernels, even custom kernels not using the yocto-kernel-cache. By moving it to KERNEL_FEATURES_INTEL_COMMON, it will only affect the kernels the layer supplies. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
20 lines
703 B
PHP
20 lines
703 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-native qemu-helper-native"
|
|
|
|
# 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"
|