]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_ext: Introduce mechanism to keep nativesdk* sstate in esdk
authorJaewon Lee <jaewon.lee@xilinx.com>
Wed, 18 Sep 2019 00:37:33 +0000 (17:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Sep 2019 14:26:45 +0000 (15:26 +0100)
commitd046afd12e1c209b29dca6ba402b9aa14680c5ce
tree476f8e281c617c1120f6ebc890f3df0c6fb6036e
parentaa3bced2e1de2f4ba507aa014835b06edccc138a
populate_sdk_ext: Introduce mechanism to keep nativesdk* sstate in esdk

When doing a devtool build-sdk from within an esdk all nativesdk
components would be rebuilt. This patch introduces SDK_INCLUDE_NATIVESDK
flag to toggle the inclusion of nativesdk packages when creating the
esdk sstate

Currently locked-sigs.inc is generated during do_sdk_depends which
doesn't pull in nativesdk packages. Generating another locked-sigs.inc
in do_populate_sdk_ext and pruning it to only nativesdk* packages by
using a modified version of the already existing function
prune_locked_sigs and merging it with the current locked-sigs.inc
Also adding SDK_INCLUDE_NATIVESDK tasklistfn to the logic surrounding
setting tasklist file to not prune esdk sstate during creation

[YOCTO #13261]

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass
meta/lib/oe/copy_buildsystem.py