]> code.ossystems Code Review - openembedded-core.git/commit
pseudo: Always try to build 32-bit libpseudo when NO32LIBS is set to 0
authorPeter Seebach <peter.seebach@windriver.com>
Fri, 26 Jul 2013 12:49:36 +0000 (07:49 -0500)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 7 Aug 2013 10:44:33 +0000 (11:44 +0100)
commit72efa8bb7fb0dcc098eecc1be55136314270f22a
treeff12ef14ff390aca6da10d3b75db374d285b5a70
parent6abc94f00daa04d8b180ef2242add19d3da2e043
pseudo: Always try to build 32-bit libpseudo when NO32LIBS is set to 0

This is for Yocto bug #4920. The NO32LIBS variable is intended to allow
the user to force the creation of a 32-bit libpseudo, for use with things
like prebuilt binary toolchains. Unfortunately, the tests for likely
compilability (stubs-32.h) were still present, so you would get silent
failures. And if you did cause it to try to build, the failures were not
particularly clearly explained.

So, we:
1. Emit at least a message during configuration saying we're only
building 64-bit, if we are.
2. Warn the user for at least one common case where we know builds
are likely to fail.
3. If NO32LIBS is 0, we try the compile for sure, and if it fails,
we've emitted at least some sort of message up near the top of the
compile output that tells you what might be wrong.

(From OE-Core master rev: 22548b3243dfa2dc9861b0f15530632b37812a8c)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pseudo/pseudo.inc