mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
Merge pull request #1278 from kernelkit/cyclonedx-build-target
Add top level makefile target to build cyclonedx [skip ci]
This commit is contained in:
@@ -32,6 +32,11 @@ $(config):
|
|||||||
legal-info: | buildroot/Makefile
|
legal-info: | buildroot/Makefile
|
||||||
$(call bmake,legal-info LINUX_LICENSE_FILES=COPYING)
|
$(call bmake,legal-info LINUX_LICENSE_FILES=COPYING)
|
||||||
|
|
||||||
|
cyclonedx: | buildroot/Makefile
|
||||||
|
@echo "Generating package information..."
|
||||||
|
@$(MAKE) --no-print-directory -C buildroot O=$(O) show-info | ./buildroot/utils/generate-cyclonedx > $(O)/cyclonedx-sbom.json
|
||||||
|
@echo "CycloneDX SBOM generated: $(O)/cyclonedx-sbom.json"
|
||||||
|
|
||||||
# Workaround, see board/x86_64/board.mk
|
# Workaround, see board/x86_64/board.mk
|
||||||
test:
|
test:
|
||||||
@+$(call bmake,$@)
|
@+$(call bmake,$@)
|
||||||
@@ -39,4 +44,4 @@ test:
|
|||||||
buildroot/Makefile:
|
buildroot/Makefile:
|
||||||
@git submodule update --init
|
@git submodule update --init
|
||||||
|
|
||||||
.PHONY: all check coverity dep test
|
.PHONY: all check coverity dep test cyclonedx
|
||||||
|
|||||||
Reference in New Issue
Block a user