aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
authorLuis Augenstein <luis.augenstein@tngtech.com>2026-05-18 08:20:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-22 13:14:41 +0200
commitb01912114e2c1b378287fcdd013bb9a894d1879e (patch)
treea76627f1a2fb4404123b9138b9239fce7cf1244a /Makefile
parentef0675c8712fea2db638594e619e7a557c2502d6 (diff)
downloadlinux-next-history-b01912114e2c1b378287fcdd013bb9a894d1879e.tar.gz
scripts/sbom: add SPDX output graph
Implement the SPDX output graph which contains the distributable build outputs and high level metadata about the build. Assisted-by: Cursor:claude-sonnet-4-5 Assisted-by: OpenCode:GLM-4-7 Co-developed-by: Maximilian Huber <maximilian.huber@tngtech.com> Signed-off-by: Maximilian Huber <maximilian.huber@tngtech.com> Signed-off-by: Luis Augenstein <luis.augenstein@tngtech.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2443d4c824548..e02d2a614c53f 100644
--- a/Makefile
+++ b/Makefile
@@ -2213,7 +2213,10 @@ quiet_cmd_sbom = GEN $(sbom_targets)
--obj-tree $(abspath $(objtree)) \
--roots-file "$(tmp-target)" \
--output-directory $(abspath $(objtree)) \
- --generate-spdx;
+ --generate-spdx \
+ --package-license "GPL-2.0 WITH Linux-syscall-note" \
+ --package-version "$(KERNELVERSION)" \
+ --write-output-on-error;
PHONY += sbom
sbom: $(notdir $(KBUILD_IMAGE)) include/generated/autoconf.h $(if $(CONFIG_MODULES),modules modules.order)
$(call cmd,sbom)