[oe-commits] Leon Woestenberg : conf/machine/ion.conf: NVidia Ion based x86 machines.

git version control git at git.openembedded.org
Fri Nov 20 12:47:19 UTC 2009


Module: openembedded.git
Branch: martin_jansa/srcpv
Commit: ce1c7e98a376f64bf4a8f3b8e91ddd48eaf2bcae
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ce1c7e98a376f64bf4a8f3b8e91ddd48eaf2bcae

Author: Leon Woestenberg <leon at sidebranch.com>
Date:   Thu Nov 19 21:37:14 2009 +0100

conf/machine/ion.conf: NVidia Ion based x86 machines.

This introduces tune-atom.inc, using core2 arch as we can rely on
GCC 4.3.1+, which supports core2 reliably.

Signed-off-by: Leon Woestenberg <leon at sidebranch.com>

---

 conf/machine/include/tune-atom.inc |    6 ++++++
 conf/machine/ion.conf              |   20 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/conf/machine/include/tune-atom.inc b/conf/machine/include/tune-atom.inc
new file mode 100644
index 0000000..3c5dd9b
--- /dev/null
+++ b/conf/machine/include/tune-atom.inc
@@ -0,0 +1,6 @@
+# was: TARGET_CC_ARCH = "-march=i586"
+#
+# since GCC 4.3.1, use core2 for +15% performance
+# http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Atom
+
+TARGET_CC_ARCH = "-march=core2"
diff --git a/conf/machine/ion.conf b/conf/machine/ion.conf
new file mode 100644
index 0000000..db0ca49
--- /dev/null
+++ b/conf/machine/ion.conf
@@ -0,0 +1,20 @@
+#@TYPE: Machine
+#@NAME: Ion
+
+#@DESCRIPTION: Machine configuration for NVidia Ion based machines.
+#Point of View ION, Asrock 330, etc.
+
+TARGET_ARCH = "core2"
+PACKAGE_EXTRA_ARCHS = "x86 core2"
+
+include conf/machine/include/tune-atom.inc
+
+MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 wifi \
+                    acpi"
+
+KERNEL_IMAGETYPE = "bzImage"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux"
+
+GLIBC_ADDONS = "nptl"
+GLIBC_EXTRA_OECONF = "--with-tls"





More information about the Openembedded-commits mailing list