[oe-commits] Leon Woestenberg : ion.conf: TARGET_CC_ARCH = "-march=i686 -mtune=atom" for Atom.

git version control git at git.openembedded.org
Thu Nov 19 22:02:23 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 36aac4867a2aa5fc95169315a4691620408ec55c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=36aac4867a2aa5fc95169315a4691620408ec55c

Author: Leon Woestenberg <leon at sidebranch.com>
Date:   Thu Nov 19 22:57:16 2009 +0100

ion.conf: TARGET_CC_ARCH = "-march=i686 -mtune=atom" for Atom.

---

 conf/machine/include/tune-atom.inc |   10 ++++++----
 conf/machine/ion.conf              |    7 +++++--
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/conf/machine/include/tune-atom.inc b/conf/machine/include/tune-atom.inc
index 3c5dd9b..b1f6453 100644
--- a/conf/machine/include/tune-atom.inc
+++ b/conf/machine/include/tune-atom.inc
@@ -1,6 +1,8 @@
-# was: TARGET_CC_ARCH = "-march=i586"
+# GCC 4.3.0- (see Poky)
+# 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
+# GCC 4.3.1+ (see Gentoo)
+#TARGET_CC_ARCH = "-march=core2"
 
-TARGET_CC_ARCH = "-march=core2"
+# GCC 4.4.2+ (see Fedora 12)
+TARGET_CC_ARCH = "-march=i686 -mtune=atom"
diff --git a/conf/machine/ion.conf b/conf/machine/ion.conf
index db0ca49..f58219b 100644
--- a/conf/machine/ion.conf
+++ b/conf/machine/ion.conf
@@ -4,8 +4,11 @@
 #@DESCRIPTION: Machine configuration for NVidia Ion based machines.
 #Point of View ION, Asrock 330, etc.
 
-TARGET_ARCH = "core2"
-PACKAGE_EXTRA_ARCHS = "x86 core2"
+TARGET_ARCH = "i686"
+
+#MACHINE_ARCH = "core2"
+
+PACKAGE_EXTRA_ARCHS = "x86"
 
 include conf/machine/include/tune-atom.inc
 





More information about the Openembedded-commits mailing list