All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio@debian.org>
To: openembedded-devel@lists.openembedded.org
Cc: Otavio Salvador <otavio@ossystems.com.br>
Subject: [PATCH 3/6] machine/geode[gl]x: use more optimization while compiling
Date: Wed, 22 Apr 2009 22:17:38 -0300	[thread overview]
Message-ID: <1240449461-26116-4-git-send-email-otavio@debian.org> (raw)
In-Reply-To: <1240449461-26116-3-git-send-email-otavio@debian.org>

From: Otavio Salvador <otavio@ossystems.com.br>

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 conf/machine/geodegx.conf             |    2 +-
 conf/machine/geodelx.conf             |   15 ++++++++-------
 conf/machine/include/tune-geodegx.inc |    3 +--
 conf/machine/include/tune-geodelx.inc |    6 +-----
 4 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/conf/machine/geodegx.conf b/conf/machine/geodegx.conf
index 6fe6a83..e468a5d 100644
--- a/conf/machine/geodegx.conf
+++ b/conf/machine/geodegx.conf
@@ -14,4 +14,4 @@ udevdir = "/dev"
 KERNEL_IMAGETYPE = "bzImage"
 
 GLIBC_ADDONS = "nptl"
-GLIBC_EXTRA_OECONF = "--with-tls"
+GLIBC_EXTRA_OECONF = "--with-tls --with-cpu=geode"
diff --git a/conf/machine/geodelx.conf b/conf/machine/geodelx.conf
index de4d9ca..80efb9c 100644
--- a/conf/machine/geodelx.conf
+++ b/conf/machine/geodelx.conf
@@ -1,14 +1,15 @@
-TARGET_ARCH = "i486"
+# Machine file for devices with the AMD Geode LX processor 
+# Copyright (C) 2005, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
 
-require conf/machine/include/tune-geodelx.inc
+TARGET_ARCH =  "i486"
 
-PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
+require conf/machine/include/tune-geodelx.inc
 
-PREFERRED_PROVIDER_virtual/kernel="linux-geodelx"
-
-SELECTED_OPTIMIZATION_glibc := "${@'${SELECTED_OPTIMIZATION}'.replace('-fomit-frame-pointer', '')}"
+PREFERRED_PROVIDER_virtual/kernel = "linux-geodelx"
 
 KERNEL_IMAGETYPE = "bzImage"
 
 GLIBC_ADDONS = "nptl"
-GLIBC_EXTRA_OECONF = "--with-tls"
+GLIBC_EXTRA_OECONF = "--with-tls --with-cpu=geode"
+SELECTED_OPTIMIZATION_glibc := "${@'${SELECTED_OPTIMIZATION}'.replace('-fomit-frame-pointer', '')}"
diff --git a/conf/machine/include/tune-geodegx.inc b/conf/machine/include/tune-geodegx.inc
index cae285a..eda332a 100644
--- a/conf/machine/include/tune-geodegx.inc
+++ b/conf/machine/include/tune-geodegx.inc
@@ -1,6 +1,5 @@
-TARGET_CC_ARCH = "-march=geode"
+TARGET_CC_ARCH = "-march=geode -mtune=geode"
 BASE_PACKAGE_ARCH = "geode"
 PACKAGE_EXTRA_ARCHS += "x86 i386 geode"
 
 FEED_ARCH = "geode"
-
diff --git a/conf/machine/include/tune-geodelx.inc b/conf/machine/include/tune-geodelx.inc
index 63e6678..eda332a 100644
--- a/conf/machine/include/tune-geodelx.inc
+++ b/conf/machine/include/tune-geodelx.inc
@@ -1,9 +1,5 @@
-# Geode CPU has it's own target in GCC 4.3
-# in older versions k6-2 is closest
-#
-TARGET_CC_ARCH = "-march=geode"
+TARGET_CC_ARCH = "-march=geode -mtune=geode"
 BASE_PACKAGE_ARCH = "geode"
 PACKAGE_EXTRA_ARCHS += "x86 i386 geode"
 
 FEED_ARCH = "geode"
-
-- 
1.6.2.1.303.g63699




  reply	other threads:[~2009-04-23  1:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23  1:17 Small patchset being used at O.S. Systems and ready for pushing Otavio Salvador
2009-04-23  1:17 ` [PATCH 1/6] qt4.inc: add translation packages to the dynamic list Otavio Salvador
2009-04-23  1:17   ` [PATCH 2/6] gtk-engines: add 2.18.1 Otavio Salvador
2009-04-23  1:17     ` Otavio Salvador [this message]
2009-04-23  1:17       ` [PATCH 4/6] qt4-tools-native: add qdbusxml2cpp Otavio Salvador
2009-04-23  1:17         ` [PATCH 5/6] qmake2.bbclass: add OE_QMAKE_QDBUSXML2CPP var Otavio Salvador
2009-04-23  1:17           ` [PATCH 6/6] acpid: add 1.0.8 (with netlink support) Otavio Salvador
2009-04-24 17:52           ` [PATCH 5/6] qmake2.bbclass: add OE_QMAKE_QDBUSXML2CPP var Jeremy Lainé
2009-04-24 17:20         ` [PATCH 4/6] qt4-tools-native: add qdbusxml2cpp Jeremy Lainé
2009-04-23  6:29       ` [PATCH 3/6] machine/geode[gl]x: use more optimization while compiling Koen Kooi
2009-04-23 12:56         ` Otavio Salvador
2009-04-23 14:37           ` Koen Kooi
2009-04-23 14:48             ` Otavio Salvador
2009-04-23 10:01       ` Marcin Juszkiewicz
2009-04-23 12:57         ` Otavio Salvador
2009-04-24 17:03   ` [PATCH 1/6] qt4.inc: add translation packages to the dynamic list Jeremy Lainé
2009-04-23 14:22 ` Small patchset being used at O.S. Systems and ready for pushing Michael 'Mickey' Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1240449461-26116-4-git-send-email-otavio@debian.org \
    --to=otavio@debian.org \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.