1#@TYPE: Machine 2#@NAME: QEMU x86 machine 3#@DESCRIPTION: Machine configuration for running an x86 system on QEMU 4 5PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" 6PREFERRED_PROVIDER_virtual/libgl ?= "mesa" 7PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" 8PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" 9 10require conf/machine/include/qemu.inc 11DEFAULTTUNE ?= "core2-32" 12require conf/machine/include/tune-corei7.inc 13require conf/machine/include/qemuboot-x86.inc 14 15UBOOT_MACHINE ?= "qemu-x86_defconfig" 16 17KERNEL_IMAGETYPE = "bzImage" 18 19SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1" 20 21XSERVER = "xserver-xorg \ 22 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \ 23 xf86-video-cirrus \ 24 xf86-video-fbdev \ 25 xf86-video-vmware \ 26 xf86-video-modesetting \ 27 xf86-video-vesa \ 28 xserver-xorg-module-libint10 \ 29 " 30 31MACHINE_FEATURES += "x86 pci" 32 33MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d" 34 35MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-ens1370 kernel-module-snd-rawmidi" 36 37KERNEL_MODULE_AUTOLOAD += "uvesafb" 38KERNEL_MODULE_PROBECONF += "uvesafb" 39module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}" 40 41WKS_FILE ?= "qemux86-directdisk.wks" 42do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" 43 44#For runqemu 45QB_SYSTEM_NAME = "qemu-system-i386" 46