Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: common_pc |
| 3 | #@DESCRIPTION: Machine configuration for running a common x86 |
| 4 | |
| 5 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" |
| 6 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa" |
| 7 | PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" |
| 8 | PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" |
| 9 | |
| 10 | require conf/machine/include/qemu.inc |
| 11 | require conf/machine/include/tune-i586.inc |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 12 | require conf/machine/include/qemuboot-x86.inc |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | UBOOT_MACHINE ?= "qemu-x86_defconfig" |
| 15 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | KERNEL_IMAGETYPE = "bzImage" |
| 17 | |
Brad Bishop | 37a0e4d | 2017-12-04 01:01:44 -0500 | [diff] [blame] | 18 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | |
| 20 | XSERVER = "xserver-xorg \ |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | xf86-video-cirrus \ |
| 23 | xf86-video-fbdev \ |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 24 | xf86-video-vmware \ |
| 25 | xf86-video-modesetting \ |
| 26 | xserver-xorg-module-libint10 \ |
| 27 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 29 | MACHINE_FEATURES += "x86 pci" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | |
| 31 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d" |
Brad Bishop | 37a0e4d | 2017-12-04 01:01:44 -0500 | [diff] [blame] | 32 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 33 | MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-ens1370 kernel-module-snd-rawmidi" |
| 34 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 35 | KERNEL_MODULE_AUTOLOAD += "uvesafb" |
| 36 | KERNEL_MODULE_PROBECONF += "uvesafb" |
| 37 | module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}" |
| 38 | |
Brad Bishop | d5ae7d9 | 2018-06-14 09:52:03 -0700 | [diff] [blame] | 39 | WKS_FILE ?= "qemux86-directdisk.wks" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 40 | do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" |