Skip to content

First round of tune config file updates

Richard Purdie openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bitbake.conf/cross.bbclass: Add ability to dynamically change library locationmeta/classes/cross.bbclass meta/conf/bitbake.conf+14 -80 replies
2/3conf/machine/tune: Overhaul tune include file variablesmeta/classes/sanity.bbclass meta/conf/bitbake.conf meta/conf/machine/include/tune-arm1136jf-s.inc +30 more+98 -602 replies
3/3conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCHmeta/conf/bitbake.conf meta/conf/machine/include/tune-arm1136jf-s.inc meta/conf/machine/include/tune-arm920t.inc +25 more+34 -323 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchKoen Kooi
1/3
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] First round of tune config file updates

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
Signature · 1 line
1.7.4.1