]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: Use 'populate_sdk_base' for non-linux targets
authorNathan Rossi <nathan@nathanrossi.com>
Mon, 30 Jan 2017 07:39:12 +0000 (17:39 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Feb 2017 17:29:43 +0000 (09:29 -0800)
commitb7d6bb07fd37c55d07903a1e8921f17e39afde0a
treeab1ee9b4691ae6ec2e4e32d4929a5cd27a881d29
parent096c07900250db157bb0c38785b9d8efc6301cab
image.bbclass: Use 'populate_sdk_base' for non-linux targets

When 'populate_sdk_ext' was first introduced in commit bf81d6bb7f6 it
replaced the inheriting of 'populate_sdk_base'. For non-linux targets
building the extensible SDK caused build errors, and the image class was
changed to inherit 'populate_sdk' when targeting a non-linux SDK_OS (in
commmit e471ce3464d). However inheriting 'populate_sdk' instead of
'populate_sdk_base' causes the SDK to always be built, this is not
expected for the image class.

This change makes the image class inherit 'populate_sdk_base' in the
non-linux SDK_OS case so that it behaves the same as it is expected to
behave where 'bitbake <image> -c populate_sdk' must be executed to
generate the SDK deployables.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/image.bbclass