blob: fcc44595e8c358586b7b67ec86b884840fc1192b [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#@TYPE: Machine
2#@NAME: common_pc
3#@DESCRIPTION: Machine configuration for running a common x86
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-64"
12require conf/machine/include/tune-core2.inc
Patrick Williamsc0f7c042017-02-23 20:41:17 -060013require conf/machine/include/qemuboot-x86.inc
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014
15KERNEL_IMAGETYPE = "bzImage"
16
Brad Bishop37a0e4d2017-12-04 01:01:44 -050017SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018
19XSERVER = "xserver-xorg \
Patrick Williamsf1e5d692016-03-30 15:21:19 -050020 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021 xf86-video-cirrus \
22 xf86-video-fbdev \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060023 xf86-video-vmware \
24 xf86-video-modesetting \
25 xserver-xorg-module-libint10 \
26 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027
Brad Bishopd7bf8c12018-02-25 22:55:05 -050028MACHINE_FEATURES += "x86 pci"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029
30MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
Brad Bishop37a0e4d2017-12-04 01:01:44 -050031
Brad Bishopd7bf8c12018-02-25 22:55:05 -050032KERNEL_MODULE_AUTOLOAD += "uvesafb"
33KERNEL_MODULE_PROBECONF += "uvesafb"
34module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}"
35
Brad Bishop37a0e4d2017-12-04 01:01:44 -050036WKS_FILE ?= "directdisk.wks"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050037do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"