Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/3] First round of tune config file updates
Date: Fri, 22 Jul 2011 15:49:50 +0100	[thread overview]
Message-ID: <cover.1311345613.git.richard.purdie@linuxfoundation.org> (raw)

These patches set the scene for the multilib work. I'm posting these first 
as they're the more invasive changes to the variables the tune
files currently expose and are likely the more user visible changes.

The first patch allows multilib to be able to change "/lib" as needed 
dynamically to variants like "/lib64". Reasons for doing it the way its
been done are included in the commit message of the patch.

The second two patches change the tune files to operate on TUNE* variables.
This allows some cleanup and simplification of the core and creates a clear
namespace for the tune files to operate under.

It does mean that machine support files need to remove any explicit 
TARGET_ARCH setting and now should always include an appopriate tune file
to ensure the TUNE variables are set correctly.

Sanity checks have been added to ensure users are informed when this has
not been done.

These should be the only compatibility break multilib requires with the
rest of the work involving changes to the tune file internals themselves.

The changes are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib rpurdie/ml-stage
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rpurdie/ml-stage

Richard Purdie (3):
  bitbake.conf/cross.bbclass: Add ability to dynamically change library
    location
  conf/machine/tune: Overhaul tune include file variables
  conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH

 meta/classes/cross.bbclass                       |    7 +++--
 meta/classes/sanity.bbclass                      |   10 ++++++--
 meta/conf/bitbake.conf                           |   26 ++++++++++++++-------
 meta/conf/machine/include/tune-arm1136jf-s.inc   |    9 ++++---
 meta/conf/machine/include/tune-arm920t.inc       |    7 +++--
 meta/conf/machine/include/tune-arm926ejs.inc     |   10 +++++---
 meta/conf/machine/include/tune-arm9tdmi.inc      |    7 +++--
 meta/conf/machine/include/tune-armv7.inc         |    7 +++--
 meta/conf/machine/include/tune-atom.inc          |    6 +++-
 meta/conf/machine/include/tune-c3.inc            |    8 ++++--
 meta/conf/machine/include/tune-cortexa8.inc      |    7 +++--
 meta/conf/machine/include/tune-cortexm1.inc      |    7 +++--
 meta/conf/machine/include/tune-cortexm3.inc      |    7 +++--
 meta/conf/machine/include/tune-cortexr4.inc      |    7 +++--
 meta/conf/machine/include/tune-ep9312.inc        |    7 +++--
 meta/conf/machine/include/tune-i586.inc          |    6 +++++
 meta/conf/machine/include/tune-iwmmxt.inc        |    7 +++--
 meta/conf/machine/include/tune-mips32.inc        |    7 +++--
 meta/conf/machine/include/tune-ppc603e.inc       |    7 +++--
 meta/conf/machine/include/tune-ppce300c2.inc     |    6 +++-
 meta/conf/machine/include/tune-ppce500.inc       |    6 +++-
 meta/conf/machine/include/tune-ppce500mc.inc     |    7 +++--
 meta/conf/machine/include/tune-ppce500v2.inc     |    7 +++--
 meta/conf/machine/include/tune-sh3.inc           |    7 +++--
 meta/conf/machine/include/tune-sh4.inc           |    7 +++--
 meta/conf/machine/include/tune-strongarm1100.inc |    6 ++++-
 meta/conf/machine/include/tune-supersparc.inc    |    7 +++--
 meta/conf/machine/include/tune-thumb.inc         |    2 +-
 meta/conf/machine/include/tune-x86_64.inc        |    5 ++++
 meta/conf/machine/include/tune-xscale.inc        |   10 ++++----
 meta/conf/machine/qemuarm.conf                   |    2 -
 meta/conf/machine/qemumips.conf                  |    2 -
 meta/conf/machine/qemuppc.conf                   |    2 -
 meta/conf/machine/qemux86-64.conf                |    3 +-
 meta/conf/machine/qemux86.conf                   |    4 +--
 35 files changed, 144 insertions(+), 98 deletions(-)
 create mode 100644 meta/conf/machine/include/tune-i586.inc
 create mode 100644 meta/conf/machine/include/tune-x86_64.inc

-- 
1.7.4.1




             reply	other threads:[~2011-07-22 14:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22 14:49 Richard Purdie [this message]
2011-07-22 14:49 ` [PATCH 1/3] bitbake.conf/cross.bbclass: Add ability to dynamically change library location Richard Purdie
2011-07-22 14:49 ` [PATCH 2/3] conf/machine/tune: Overhaul tune include file variables Richard Purdie
2011-07-22 15:03   ` Kumar Gala
2011-07-22 15:13     ` Richard Purdie
2011-07-22 14:49 ` [PATCH 3/3] conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH Richard Purdie
2011-07-22 14:54   ` Koen Kooi
2011-07-22 15:11     ` Richard Purdie
2011-07-22 15:15       ` Koen Kooi
2011-07-22 18:00 ` [PATCH 5/3] conf/machine/include: Start to fill out architecture specific tune include files and tune features Richard Purdie
2011-07-22 18:14   ` Tom Rini
2011-07-25 18:55     ` Mark Hatle
2011-07-25 19:34       ` Tom Rini
2011-07-25 19:39         ` Mark Hatle
2011-07-25 20:39         ` Phil Blundell
2011-07-25 20:43           ` Tom Rini
2011-07-22 18:00 ` [PATCH 4/3] bitbake.conf/classes: Variable cleanup Richard Purdie
2011-07-22 18:01 ` [PATCH 6/3] Move architecture specific TARGET_OS mangling into tune files Richard Purdie
2011-07-25 13:42   ` Richard Purdie
2011-07-25 16:23     ` Phil Blundell
2011-07-27 16:37       ` Richard Purdie

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=cover.1311345613.git.richard.purdie@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox