We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 737b131 + ddf766d commit cd94de7Copy full SHA for cd94de7
Makefile
@@ -32,11 +32,16 @@ $(config):
32
legal-info: | buildroot/Makefile
33
$(call bmake,legal-info LINUX_LICENSE_FILES=COPYING)
34
35
+cyclonedx: | buildroot/Makefile
36
+ @echo "Generating package information..."
37
+ @$(MAKE) --no-print-directory -C buildroot O=$(O) show-info | ./buildroot/utils/generate-cyclonedx > $(O)/cyclonedx-sbom.json
38
+ @echo "CycloneDX SBOM generated: $(O)/cyclonedx-sbom.json"
39
+
40
# Workaround, see board/x86_64/board.mk
41
test:
42
@+$(call bmake,$@)
43
44
buildroot/Makefile:
45
@git submodule update --init
46
-.PHONY: all check coverity dep test
47
+.PHONY: all check coverity dep test cyclonedx
0 commit comments