From f16a4167dac8e982ec4d4ef09c0fd4896ab2f960 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 3 Dec 2014 10:50:56 +0100 Subject: [PATCH] add machine for generic build Change-Id: I5544f9c03fcce36e20a63cbda93619fc5ac68e7c Signed-off-by: Ronan Le Martret --- .../conf/machine/genericx86-64.conf | 8 ++++++++ meta-tizen-common-base/conf/machine/genericx86.conf | 8 ++++++++ .../conf/machine/include/genericx86-common.inc | 20 ++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 meta-tizen-common-base/conf/machine/genericx86-64.conf create mode 100644 meta-tizen-common-base/conf/machine/genericx86.conf create mode 100644 meta-tizen-common-base/conf/machine/include/genericx86-common.inc 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 index 0000000..f76e35a --- /dev/null +++ b/meta-tizen-common-base/conf/machine/genericx86-64.conf @@ -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 index 0000000..2642cab --- /dev/null +++ b/meta-tizen-common-base/conf/machine/genericx86.conf @@ -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 index 0000000..c61be97 --- /dev/null +++ b/meta-tizen-common-base/conf/machine/include/genericx86-common.inc @@ -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" -- 2.7.4