Skip to content
Commit 34fa68a0 authored by Konrad Weihmann's avatar Konrad Weihmann Committed by Richard Purdie
Browse files

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

Signed-off-by: default avatarKonrad Weihmann <kweihmann@witekio.com>
On-behalf-of: Avnet Embedded <AvnetEmbedded@avnet.eu>
Signed-off-by: default avatarJoshua Watt <JPEWhacker@gmail.com>
Reviewed-by: default avatarJoshua Watt <JPEWhacker@gmail.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 9ec01fe3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment