All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio@ossystems.com.br>
To: openembedded-devel@lists.openembedded.org
Cc: Otavio Salvador <otavio@ossystems.com.br>
Subject: [PATCH 02/23] machine/geode[gl]x: use more optimization while compiling
Date: Fri,  8 May 2009 21:50:18 -0300	[thread overview]
Message-ID: <1241830239-5594-3-git-send-email-otavio@ossystems.com.br> (raw)
In-Reply-To: <1241830239-5594-2-git-send-email-otavio@ossystems.com.br>

Since the code is now the same for Geode GX and Geode LX we also
merged the tunning files in a single tune-geode.inc, making it easy to
improve from now on.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 conf/machine/geodegx.conf             |    4 ++--
 conf/machine/geodelx.conf             |   15 ++++++++-------
 conf/machine/include/tune-geode.inc   |    5 +++++
 conf/machine/include/tune-geodegx.inc |    6 ------
 conf/machine/include/tune-geodelx.inc |    9 ---------
 5 files changed, 15 insertions(+), 24 deletions(-)
 create mode 100644 conf/machine/include/tune-geode.inc
 delete mode 100644 conf/machine/include/tune-geodegx.inc
 delete mode 100644 conf/machine/include/tune-geodelx.inc

diff --git a/conf/machine/geodegx.conf b/conf/machine/geodegx.conf
index 6fe6a83..0ec6782 100644
--- a/conf/machine/geodegx.conf
+++ b/conf/machine/geodegx.conf
@@ -4,7 +4,7 @@
 
 TARGET_ARCH =  "i486"
 
-require conf/machine/include/tune-geodegx.inc
+require conf/machine/include/tune-geode.inc
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-geodegx"
 BOOTSTRAP_EXTRA_RDEPENDS = "kernel pciutils udev kernel-modules"
@@ -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..f8874fd 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-geode.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_pn-glibc := "${@'${SELECTED_OPTIMIZATION}'.replace('-fomit-frame-pointer', '')}"
diff --git a/conf/machine/include/tune-geode.inc b/conf/machine/include/tune-geode.inc
new file mode 100644
index 0000000..eda332a
--- /dev/null
+++ b/conf/machine/include/tune-geode.inc
@@ -0,0 +1,5 @@
+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-geodegx.inc b/conf/machine/include/tune-geodegx.inc
deleted file mode 100644
index cae285a..0000000
--- a/conf/machine/include/tune-geodegx.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-TARGET_CC_ARCH = "-march=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
deleted file mode 100644
index 63e6678..0000000
--- a/conf/machine/include/tune-geodelx.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-# Geode CPU has it's own target in GCC 4.3
-# in older versions k6-2 is closest
-#
-TARGET_CC_ARCH = "-march=geode"
-BASE_PACKAGE_ARCH = "geode"
-PACKAGE_EXTRA_ARCHS += "x86 i386 geode"
-
-FEED_ARCH = "geode"
-
-- 
1.6.3.rc1.51.gea0b7




  reply	other threads:[~2009-05-09  0:56 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-09  0:50 [RFC] Ready to commit patches from O.S. Systems Otavio Salvador
2009-05-09  0:50 ` [PATCH 01/23] gtk-engines: add 2.18.1 Otavio Salvador
2009-05-09  0:50   ` Otavio Salvador [this message]
2009-05-09  0:50     ` [PATCH 03/23] acpid: add 1.0.8 (with netlink support) Otavio Salvador
2009-05-09  0:50       ` [PATCH 04/23] hal-info: add 20080414 Otavio Salvador
2009-05-09  0:50         ` [PATCH 05/23] python-pycups: add Otavio Salvador
2009-05-09  0:50           ` [PATCH 06/23] checksums.ini: add flash-plugin Otavio Salvador
2009-05-09  0:50             ` [PATCH 07/23] checksums.ini: add sun-jdk Otavio Salvador
2009-05-09  0:50               ` [PATCH 08/23] checksums.ini: firefox-l10n-pt-br Otavio Salvador
2009-05-09  0:50                 ` [PATCH 09/23] system-config-printer: add to provide python-cupshelpers to hal-cups-utils Otavio Salvador
2009-05-09  0:50                   ` [PATCH 10/23] hal-cups-utils: add Otavio Salvador
2009-05-09  0:50                     ` [PATCH 11/23] cups: split backends and models Otavio Salvador
2009-05-09  0:50                       ` [PATCH 12/23] conf/licenses.conf: add CUPS license Otavio Salvador
2009-05-09  0:50                         ` [PATCH 13/23] fixes wrong license value usage for GPLv2 Otavio Salvador
2009-05-09  0:50                           ` [PATCH 14/23] mtools: update to 4.0.10 since 3.9.11 was not available anymore Otavio Salvador
2009-05-09  0:50                             ` [PATCH 15/23] rt61-firmware: fix installation of binary files Otavio Salvador
2009-05-09  0:50                               ` [PATCH 16/23] s/IPKG_INSTALL/PACKAGE_INSTALL/ Otavio Salvador
2009-05-09  0:50                                 ` [PATCH 17/23] Documentation for PACKAGE_ARCH is actually for PACKAGE_ARCHS Otavio Salvador
2009-05-09  0:50                                   ` [PATCH 18/23] Fixed indentation for Python code Otavio Salvador
2009-05-09  0:50                                     ` [PATCH 19/23] initramfs-uniboot: properly setup sysfs and tmp Otavio Salvador
2009-05-09  0:50                                       ` [PATCH 20/23] cups: undo mangle of cups_{datadir, serverbin} in cups-config Otavio Salvador
2009-05-09  0:50                                         ` [PATCH 21/23] libgnomeprintui: drop gnome-common dependency since it is added by gnome class Otavio Salvador
2009-05-09  0:50                                           ` [PATCH 22/23] ppp: add peers dir Otavio Salvador
2009-05-09  0:50                                             ` [PATCH 23/23] gnumeric: update to 1.8.4 Otavio Salvador
2009-05-09  7:58                             ` [PATCH 14/23] mtools: update to 4.0.10 since 3.9.11 was not available anymore Koen Kooi
2009-05-09 16:16                       ` [PATCH 11/23] cups: split backends and models Cliff Brake
2009-05-09 17:12                         ` Otavio Salvador
2009-05-09  7:56                   ` [PATCH 09/23] system-config-printer: add to provide python-cupshelpers to hal-cups-utils Koen Kooi
2009-05-09 17:14                     ` Otavio Salvador
2009-05-09 17:18                       ` Koen Kooi
2009-05-09  8:00 ` [RFC] Ready to commit patches from O.S. Systems Koen Kooi
2009-05-09 16:24 ` Cliff Brake
2009-05-21  2:39 Final sent before pushing, please ack Otavio Salvador
2009-05-21  2:39 ` [PATCH 01/23] gtk-engines: add 2.18.1 Otavio Salvador
2009-05-21  2:39   ` [PATCH 02/23] machine/geode[gl]x: use more optimization while compiling Otavio Salvador

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=1241830239-5594-3-git-send-email-otavio@ossystems.com.br \
    --to=otavio@ossystems.com.br \
    --cc=openembedded-devel@lists.openembedded.org \
    /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.