[0/2] sanity.bblass: Initial toolchain sanity checks

Submitted by Peter Seebach on May 1, 2012, 4:42 p.m. | Patch ID: 26769


Message ID cover.1335890271.git.peter.seebach@windriver.com
State New
Headers show


git://git.yoctoproject.org/poky-contrib seebs/toolchains

Commit Message

Peter Seebach May 1, 2012, 4:42 p.m.
Changes galore based on Richard Purdie's comments.  Specific notes:

* I've removed the check against the multilib 'lib'.  Since at least
  two people have reacted with surprise to being told it didn't work,
  I'm assuming that's a bug I should consider separately, not a feature
  I should sanity-check.
* I've added/improved documentation changes.
* I've kept the TUNEABI stuff on the grounds that I think having a stable
  mechanism for this will be better than having every OSV reinvent it in
  a subtly incompatible or confusing way.

The rationale on the TUNEABI thing is that so far as I can tell, at least
MV, MG, and WR have plans in which a thing like this would be used, and if
I have understood peoples' comments, this would provide the functionality
they need.  If we all do it the same way, life is better for all the
prospective users, and anyone else who comes along doing prebuilts will
also presumably benefit.  I also implemented it such that you have to go
looking for it to get affected by it; the intent is to have no impact
on people who don't need it.

The following changes since commit 35b5fb2dd2131d4c7dc6635c14c6e08ea6926457:
  Saul Wold (1):
        eglibc-package: remove /var

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib seebs/toolchains

Peter Seebach (2):
  conf/machine: Clean up configuration values.
  sanity.bbclass: Implement initial toolchain sanity checks

 meta/classes/sanity.bbclass                      |   76 ++++++++++++++++++++++
 meta/conf/documentation.conf                     |   13 ++++
 meta/conf/machine/include/README                 |    4 +
 meta/conf/machine/include/arm/arch-armv5-dsp.inc |    1 +
 meta/conf/machine/include/arm/arch-armv7a.inc    |    2 +-
 meta/conf/machine/include/ia32/arch-ia32.inc     |    2 +-
 meta/conf/machine/include/mips/arch-mips.inc     |    6 +-
 meta/conf/machine/include/tune-c3.inc            |    2 +-
 8 files changed, 100 insertions(+), 6 deletions(-)