mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
classes/spdx-common: Add SPDX version to path
Since multiple versions of SPDX are available, use the version in the path (From OE-Core rev: 35c061a4514905b3ebbb7f0633a584927519445c) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
92b202c246
commit
37c9adaf80
@@ -4,14 +4,15 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
|
||||
DEPLOY_DIR_SPDX ??= "${DEPLOY_DIR}/spdx"
|
||||
SPDX_VERSION ??= ""
|
||||
DEPLOY_DIR_SPDX ??= "${DEPLOY_DIR}/spdx/${SPDX_VERSION}"
|
||||
|
||||
# The product name that the CVE database uses. Defaults to BPN, but may need to
|
||||
# be overriden per recipe (for example tiff.bb sets CVE_PRODUCT=libtiff).
|
||||
CVE_PRODUCT ??= "${BPN}"
|
||||
CVE_VERSION ??= "${PV}"
|
||||
|
||||
SPDXDIR ??= "${WORKDIR}/spdx"
|
||||
SPDXDIR ??= "${WORKDIR}/spdx/${SPDX_VERSION}"
|
||||
SPDXDEPLOY = "${SPDXDIR}/deploy"
|
||||
SPDXWORK = "${SPDXDIR}/work"
|
||||
SPDXIMAGEWORK = "${SPDXDIR}/image-work"
|
||||
|
||||
Reference in New Issue
Block a user