diff options
author | Konrad Weihmann <kweihmann@witekio.com> | 2022-11-09 08:37:14 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-01 19:35:11 +0000 |
commit | 0ef7288f7e6c5befea6b9bf55548c12a40f9120d (patch) | |
tree | 73f05b15731097bf4efa6f5fe861e37ccfbce522 /scripts/lib/devtool/sdk.py | |
parent | 63815831c8d9f90bc7406443d378c9213b4b8b1e (diff) | |
download | poky-0ef7288f7e6c5befea6b9bf55548c12a40f9120d.tar.gz |
create-spdx: default share_src for shared sources
if a source is using work-shared but isn't a kernel,
like for instance llvm-source from meta-clang, share_src was
previously undefined leading to a crash of the python code.
Default to WORKDIR and just override it in case the source being
a kernel recipe.
Additionally changes the variable names in the following, as
they imply that it's only about the kernel, which is not the case
in every case
(From OE-Core rev: 34fa68a0b07328c4ed4eef81f8cde80137a91f18)
(From OE-Core rev: 30cdb7fbec8e9cf5c5a25e28a1102fa562a7f6c2)
Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
On-behalf-of: Avnet Embedded <AvnetEmbedded@avnet.eu>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions