summaryrefslogtreecommitdiff
path: root/meta/conf/machine
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-26 11:03:45 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-27 22:45:41 -0700
commitfb10983b991eaac4a1f4f3578f6891af8cf142db (patch)
treef687be7eaca90e9869093d4c94bdfd133d4ded35 /meta/conf/machine
parent752435eb3bc525da43eb94659e115156d572b68c (diff)
downloadopenembedded-core-fb10983b991eaac4a1f4f3578f6891af8cf142db.tar.gz
openembedded-core-fb10983b991eaac4a1f4f3578f6891af8cf142db.tar.bz2
openembedded-core-fb10983b991eaac4a1f4f3578f6891af8cf142db.zip
qemux86-64: Add new emulation machine for 64bit x86
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r--meta/conf/machine/qemux86-64.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf
new file mode 100644
index 0000000000..85d79f686f
--- /dev/null
+++ b/meta/conf/machine/qemux86-64.conf
@@ -0,0 +1,35 @@
+#@TYPE: Machine
+#@NAME: common_pc
+#@DESCRIPTION: Machine configuration for running a common x86
+
+TARGET_ARCH = "x86_64"
+PACKAGE_EXTRA_ARCHS = "x86"
+
+PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
+PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite"
+PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"
+
+require conf/machine/include/qemu.inc
+
+MACHINE_FEATURES += "x86"
+
+KERNEL_IMAGETYPE = "bzImage"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
+# We bypass swrast but we need it to be present for X to load correctly
+XSERVER ?= "xserver-xf86-dri-lite \
+ mesa-dri-driver-swrast \
+ xf86-input-vmmouse \
+ xf86-input-keyboard \
+ xf86-input-evdev \
+ xf86-video-vmware \
+ qemugl"
+
+GLIBC_ADDONS = "nptl"
+GLIBC_EXTRA_OECONF = "--with-tls"
+
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "v86d"
+
+TARGET_CC_ARCH = "-march=core2 -m64"