]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: ensure that only valid BSPs are built
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 21 Aug 2017 02:58:21 +0000 (22:58 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Aug 2017 07:47:05 +0000 (08:47 +0100)
commit44aea7b87307795fe4e089c51d45afccaa2f6525
tree59c96d20962e4892301337dc8b776264fff55771
parentc58df63d88a07d3275e7337f7d284b0a50db82cc
kernel-yocto: ensure that only valid BSPs are built

There was a bug in the search routines responsible for locating
BSP definitions which returned a valid match if only the ktype
matched.

This meant that someone looking for "qemux86foo" (which is an
invalid definition) would potentially end up building "qemuarm"
and be none the wiser (until it didn't boot).

With this fix to the tools search routine, and improved return
code testing, we will now stop the build and report and error to
the user.

[YOCTO: #11878]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb