summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build_sdk.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-05-10 09:43:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-12 22:01:55 +0100
commiteeacb5d906626e1f85fa53113632a07b77bc03af (patch)
tree7f985c22f12f9fdb133210c6c4c2d818f8992266 /scripts/lib/devtool/build_sdk.py
parentd20341f93a13fc2f006b0c53eaaf39be153b2686 (diff)
downloadpoky-eeacb5d906626e1f85fa53113632a07b77bc03af.tar.gz
oeqa/sdk: add helpers to check for and install packages
The existing tests simply look at the manifest to determine if a test should be ran or not based on dependencies. Whilst this works for Traditional SDKs, it fails for Extensible SDKs if they've been built in minimal mode, where the manifest will be empty. However, minimal eSDKs might well have available sstate to install the missing dependencies. Add a pair of helper functions to ensure that a package is available, or skip the test. This handles nativesdk- vs -native (SDK vs eSDK) and will try to sdk-install missing dependencies into an eSDK if they're not already installed. (From OE-Core rev: d0e8b83d05957b1f22d08582e364afa4b522801e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build_sdk.py')
0 files changed, 0 insertions, 0 deletions