summaryrefslogtreecommitdiff
path: root/meta/conf/machine/include
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-04-30 22:01:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-24 08:53:39 +0100
commit62dba36166bc5faa32ba3e0664ae98b168cde6b1 (patch)
tree1d6a25cb947dc74ce55f6e8b2465e1dbb84ea05a /meta/conf/machine/include
parent801bfa7edfbff1522964efab0c0ba40bbc52c601 (diff)
downloadopenembedded-core-62dba36166bc5faa32ba3e0664ae98b168cde6b1.tar.gz
openembedded-core-62dba36166bc5faa32ba3e0664ae98b168cde6b1.tar.bz2
openembedded-core-62dba36166bc5faa32ba3e0664ae98b168cde6b1.zip
qemumachines: Enable xserver-xorg as default xserver
For qemux86 and qemux86-64 include qemu.inc after defining XSERVER XSERVER variable is also weakly defined in task-core-x11.bb which means we can not use ??= otherwise when building any qemu image that uses task-core-x11.bb will get the wrong definition So we define the XSERVER common set for qemu in qemu.inc and as we know x86 and x86-64 qemu overrides the default we include qemu.inc after that definition which means that qemux86 and qemux86-64 get their own definitions and other qemus get the definitions from qemu.inc. other non-qemu machine will get their defintion from task which points to kdrive as of now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/conf/machine/include')
-rw-r--r--meta/conf/machine/include/qemu.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
index 421a14925b..e384879a8f 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -1,7 +1,14 @@
PCMCIA_MANAGER = "pcmciautils"
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-kdrive"
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib"
+XSERVER ?= "xserver-xorg \
+ mesa-dri-driver-swrast \
+ xf86-input-evdev \
+ xf86-input-mouse \
+ xf86-video-fbdev \
+ xf86-input-keyboard"
+
MACHINE_FEATURES = "apm alsa pcmcia bluetooth irda usbgadget screen"
IMAGE_FSTYPES += "tar.bz2 ext3"