mirror of
https://git.yoctoproject.org/poky-contrib
synced 2025-05-08 23:52:25 +08:00
classes/spdx-*.bbclass: move spdx2 specific variables out of spdx-common class
Setting SPDX_ARCHIVE_SOURCES and SPDX_ARCHIVE_PACKAGED makes no difference when using the spdx-3.0 class. Move these two in the spdx-2.0 class since they are only used there. (From OE-Core rev: 8ce06538c9cde0f09909a5a2e61ec10b0d35df49) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b199e9ff9f
commit
8c9f86ce06
@ -15,6 +15,8 @@ SPDX_SUPPLIER[doc] = "The SPDX PackageSupplier field for SPDX packages created f
|
||||
is the contact information for the person or organization who is doing the \
|
||||
build."
|
||||
|
||||
SPDX_ARCHIVE_SOURCES ??= "0"
|
||||
SPDX_ARCHIVE_PACKAGED ??= "0"
|
||||
|
||||
def get_namespace(d, name):
|
||||
import uuid
|
||||
|
@ -26,8 +26,6 @@ SPDX_TOOL_VERSION ??= "1.0"
|
||||
SPDXRUNTIMEDEPLOY = "${SPDXDIR}/runtime-deploy"
|
||||
|
||||
SPDX_INCLUDE_SOURCES ??= "0"
|
||||
SPDX_ARCHIVE_SOURCES ??= "0"
|
||||
SPDX_ARCHIVE_PACKAGED ??= "0"
|
||||
|
||||
SPDX_UUID_NAMESPACE ??= "sbom.openembedded.org"
|
||||
SPDX_NAMESPACE_PREFIX ??= "http://spdx.org/spdxdocs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user