]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: Unconditional includes of populate_sdk_ext fails
authorMark Hatle <mark.hatle@windriver.com>
Mon, 11 Jan 2016 21:12:05 +0000 (15:12 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Jan 2016 00:03:52 +0000 (00:03 +0000)
commite471ce3464d5ae024315d4839cccd4c651f9ba83
tree19da0c38c85b5b847e3017ac6a2eef5d43b87fac
parentea4b19ad2e4d259c41c9e09ecb70bc8043509a4f
image.bbclass: Unconditional includes of populate_sdk_ext fails

populate_sdk_ext requires uninative support, which is only available on
glibc based SDKMACHINES.  For instance, when using mingw32 a dependency
error will occur:

NOTE: Runtime target 'nativesdk-glibc' is unbuildable, removing...
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'uninative-tarball', 'nativesdk-glibc']

This is dues to populate_sdk_ext.bbclass having:
do_populate_sdk_ext[depends] += "buildtools-tarball:do_populate_sdk uninative-tarball:do_populate_sdk"
addtask populate_sdk_ext

Since bitbake can't determine for dependency resolution if the task is going
to be run yet, it blows up and says it simply can't be resolved.

Workaround this problem by making the inherit conditional on the SDK_OS
containing 'linux'.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass