conf/machine/ion.conf: NVidia Ion based x86 machines.
authorLeon Woestenberg <leon@sidebranch.com>
Thu, 19 Nov 2009 20:37:14 +0000 (21:37 +0100)
committerLeon Woestenberg <leon@sidebranch.com>
Thu, 19 Nov 2009 20:37:14 +0000 (21:37 +0100)
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@sidebranch.com>
conf/machine/include/tune-atom.inc [new file with mode: 0644]
conf/machine/ion.conf [new file with mode: 0644]

diff --git a/conf/machine/include/tune-atom.inc b/conf/machine/include/tune-atom.inc
new file mode 100644 (file)
index 0000000..3c5dd9b
--- /dev/null
@@ -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 (file)
index 0000000..db0ca49
--- /dev/null
@@ -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"