summaryrefslogtreecommitdiffstats
path: root/meta/classes/spdx-common.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/spdx-common.bbclass')
-rw-r--r--meta/classes/spdx-common.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/spdx-common.bbclass b/meta/classes/spdx-common.bbclass
index 468a11ca3e..f6fc182838 100644
--- a/meta/classes/spdx-common.bbclass
+++ b/meta/classes/spdx-common.bbclass
@@ -4,14 +4,15 @@
4# SPDX-License-Identifier: GPL-2.0-only 4# SPDX-License-Identifier: GPL-2.0-only
5# 5#
6 6
7DEPLOY_DIR_SPDX ??= "${DEPLOY_DIR}/spdx" 7SPDX_VERSION ??= ""
8DEPLOY_DIR_SPDX ??= "${DEPLOY_DIR}/spdx/${SPDX_VERSION}"
8 9
9# The product name that the CVE database uses. Defaults to BPN, but may need to 10# The product name that the CVE database uses. Defaults to BPN, but may need to
10# be overriden per recipe (for example tiff.bb sets CVE_PRODUCT=libtiff). 11# be overriden per recipe (for example tiff.bb sets CVE_PRODUCT=libtiff).
11CVE_PRODUCT ??= "${BPN}" 12CVE_PRODUCT ??= "${BPN}"
12CVE_VERSION ??= "${PV}" 13CVE_VERSION ??= "${PV}"
13 14
14SPDXDIR ??= "${WORKDIR}/spdx" 15SPDXDIR ??= "${WORKDIR}/spdx/${SPDX_VERSION}"
15SPDXDEPLOY = "${SPDXDIR}/deploy" 16SPDXDEPLOY = "${SPDXDIR}/deploy"
16SPDXWORK = "${SPDXDIR}/work" 17SPDXWORK = "${SPDXDIR}/work"
17SPDXIMAGEWORK = "${SPDXDIR}/image-work" 18SPDXIMAGEWORK = "${SPDXDIR}/image-work"