summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/create-spdx-2.2.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/create-spdx-2.2.bbclass b/meta/classes/create-spdx-2.2.bbclass
index a2b96da61a..885f07a1f8 100644
--- a/meta/classes/create-spdx-2.2.bbclass
+++ b/meta/classes/create-spdx-2.2.bbclass
@@ -986,7 +986,7 @@ def sdk_combine_spdx(d, sdk_type):
986 from pathlib import Path 986 from pathlib import Path
987 from oe.sdk import sdk_list_installed_packages 987 from oe.sdk import sdk_list_installed_packages
988 988
989 sdk_name = d.getVar("SDK_NAME") + "-" + sdk_type 989 sdk_name = d.getVar("TOOLCHAIN_OUTPUTNAME") + "-" + sdk_type
990 sdk_deploydir = Path(d.getVar("SDKDEPLOYDIR")) 990 sdk_deploydir = Path(d.getVar("SDKDEPLOYDIR"))
991 sdk_spdxid = oe.sbom.get_sdk_spdxid(sdk_name) 991 sdk_spdxid = oe.sbom.get_sdk_spdxid(sdk_name)
992 sdk_packages = sdk_list_installed_packages(d, sdk_type == "target") 992 sdk_packages = sdk_list_installed_packages(d, sdk_type == "target")