add machine for generic build
authorRonan Le Martret <ronan@fridu.net>
Wed, 3 Dec 2014 09:50:56 +0000 (10:50 +0100)
committerRonan Le Martret <ronan@fridu.net>
Wed, 3 Dec 2014 09:50:56 +0000 (10:50 +0100)
Change-Id: I5544f9c03fcce36e20a63cbda93619fc5ac68e7c
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
meta-tizen-common-base/conf/machine/genericx86-64.conf [new file with mode: 0644]
meta-tizen-common-base/conf/machine/genericx86.conf [new file with mode: 0644]
meta-tizen-common-base/conf/machine/include/genericx86-common.inc [new file with mode: 0644]

diff --git a/meta-tizen-common-base/conf/machine/genericx86-64.conf b/meta-tizen-common-base/conf/machine/genericx86-64.conf
new file mode 100644 (file)
index 0000000..f76e35a
--- /dev/null
@@ -0,0 +1,8 @@
+#@TYPE: Machine
+#@NAME: Generic X86_64.
+
+#@DESCRIPTION: Machine configuration for generic X86_64 (64-bit) PCs and servers. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
+
+DEFAULTTUNE ?= "core2-64"
+require conf/machine/include/tune-core2.inc
+require conf/machine/include/genericx86-common.inc
diff --git a/meta-tizen-common-base/conf/machine/genericx86.conf b/meta-tizen-common-base/conf/machine/genericx86.conf
new file mode 100644 (file)
index 0000000..2642cab
--- /dev/null
@@ -0,0 +1,8 @@
+#@TYPE: Machine
+#@NAME: Generic X86.
+
+#@DESCRIPTION: Machine configuration for generic X86 (32-bit) PCs. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
+
+DEFAULTTUNE ?= "core2-32"
+require conf/machine/include/tune-core2.inc
+require conf/machine/include/genericx86-common.inc
diff --git a/meta-tizen-common-base/conf/machine/include/genericx86-common.inc b/meta-tizen-common-base/conf/machine/include/genericx86-common.inc
new file mode 100644 (file)
index 0000000..c61be97
--- /dev/null
@@ -0,0 +1,20 @@
+include conf/machine/include/x86-base.inc
+MACHINE_FEATURES += "wifi efi pcbios"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
+PREFERRED_VERSION_linux-yocto ?= "3.14%"
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+XSERVER ?= "${XSERVER_X86_BASE} \
+            ${XSERVER_X86_EXT} \
+            ${XSERVER_X86_I915} \
+            ${XSERVER_X86_I965} \
+            ${XSERVER_X86_FBDEV} \
+            ${XSERVER_X86_VESA} \
+            ${XSERVER_X86_MODESETTING} \
+           "
+
+MACHINE_EXTRA_RRECOMMENDS += "linux-firmware v86d eee-acpi-scripts"
+
+GLIBC_ADDONS = "nptl"
+
+EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"