]> 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)
committerSaul Wold <sgw@linux.intel.com>
Tue, 30 Jul 2013 14:25:40 +0000 (07:25 -0700)
commit22548b3243dfa2dc9861b0f15530632b37812a8c
tree762fa4cfe1abb965b6740d7651cfd83090157d7f
parent29c3ecee32d9bfb03099a4f10456fd0270e107fb
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.

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