[0/2] sanity.bbclass: Toolchain sanity checks

Submitted by Peter Seebach on April 27, 2012, 11:51 p.m. | Patch ID: 26543


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


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

Commit Message

Peter Seebach April 27, 2012, 11:51 p.m.
This is a somewhat cleaned up and fixed version of the toolchain sanity
checks I've been working on.  (Also my first attempt to submit to OE, so
I have probably made humorous mistakes.)

Big outstanding issue:  Is it a bug that specifying the name "lib" for
a multilib causes parse errors in at least one package?  If this is a
package bug, I should find out how to fix the package(s) (libxcb blew
up for me) instead of making that check for multilibs.

Other issue:  The TUNEABI stuff is preliminary, and I'm not totally sure
whether it will work in practice.  But it won't break anything unless
you go out of your way to enable it.

Mark Hatle's already been over this once, but second opinions are always

The following changes since commit 5a1f172d35be610688842a8a9a84f24edb9aeb51:
  Martin Jansa (1):
        bitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAME

are available in the git repository at:

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

Peter Seebach (2):
  tune-sh4.inc: Fix spelling of big-endian feature set
  sanity.bbclass: Implement initial toolchain sanity checks

 meta/classes/sanity.bbclass                      |   69 ++++++++++++++++++++++
 meta/conf/documentation.conf                     |    6 ++
 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 +-
 meta/conf/machine/include/tune-sh3.inc           |    2 +-
 meta/conf/machine/include/tune-sh4.inc           |    4 +-
 meta/conf/machine/include/tune-xscale.inc        |    2 +-
 11 files changed, 90 insertions(+), 10 deletions(-)