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:05 +0000 | 
| commit | 2b2b8af7c03a903b2721cbc80487f9d09a54b7b2 (patch) | |
| tree | 8127f4b5b68173332d8c54ee7390c5f8acd48048 /scripts/lib/devtool/build_sdk.py | |
| parent | be6308ec75bc7edb99da481aa14c4364ec984865 (diff) | |
| download | poky-2b2b8af7c03a903b2721cbc80487f9d09a54b7b2.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: 5b2ee67e3a5587b4c7d97d2a9bc00022d1eedae3)
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/build_sdk.py')
0 files changed, 0 insertions, 0 deletions
