util/: Replace GPLv2 boiler plate with SPDX header
Used commands:
perl -i -p0e 's|\/\*[\s*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-only */|' $(cat filelist)
perl -i -p0e 's|This[\s*]*program[\s*]*is[\s*]*free[\s*]*software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*either[\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License,[\s*]*or[\s*]*.at[\s*]*your[\s*]*option.*[\s*]*any[\s*]*later[\s*]*version.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-or-later */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*This[\s*#]*program[\s*#]*is[\s*#]*free[\s*#]*software[;:,][\s*#]*you[\s*#]*can[\s*#]*redistribute[\s*#]*it[\s*#]*and/or[\s*#]*modify[\s*#]*it[\s*#]*under[\s*#]*the[\s*#]*terms[\s*#]*of[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*as[\s*#]*published[\s*#]*by[\s*#]*the[\s*#]*Free[\s*#]*Software[\s*#]*Foundation[;:,][\s*#]*either[\s*#]*version[\s*#]*3[\s*#]*of[\s*#]*the[\s*#]*License[;:,][\s*#]*or[\s*#]*.at[\s*#]*your[\s*#]*option.*[\s*#]*any[\s*#]*later[\s*#]*version.[\s*#]*This[\s*#]*program[\s*#]*is[\s*#]*distributed[\s*#]*in[\s*#]*the[\s*#]*hope[\s*#]*that[\s*#]*it[\s*#]*will[\s*#]*be[\s*#]*useful[;:,][\s*#]*but[\s*#]*WITHOUT[\s*#]*ANY[\s*#]*WARRANTY[;:,][\s*#]*without[\s*#]*even[\s*#]*the[\s*#]*implied[\s*#]*warranty[\s*#]*of[\s*#]*MERCHANTABILITY[\s*#]*or[\s*#]*FITNESS[\s*#]*FOR[\s*#]*A[\s*#]*PARTICULAR[\s*#]*PURPOSE.[\s*#]*See[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*for[\s*#]*more[\s*#]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-3.0-or-later */|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w]*.*is free software[:;][\#\s]*you[\#\s]*can[\#\s]*redistribute[\#\s]*it[\#\s]*and\/or[\#\s]*modify[\#\s]*it[\s\#]*under[\s \#]*the[\s\#]*terms[\s\#]*of[\s\#]*the[\s\#]*GNU[\s\#]*General[\s\#]*Public[\s\#]*License[\s\#]*as[\s\#]*published[\s\#]*by[\s\#]*the[\s\#]*Free[\s\#]*Software[\s\#]*Foundation[;,][\s\#]*version[\s\#]*2[\s\#]*of[\s\#]*the[\s\#]*License.*[\s\#]*This[\s\#]*program[\s\#]*is[\s\#]*distributed[\s\#]*in[\s\#]*the[\s\#]*hope[\s\#]*that[\s\#]*it[\s\#]*will[\#\s]*be[\#\s]*useful,[\#\s]*but[\#\s]*WITHOUT[\#\s]*ANY[\#\s]*WARRANTY;[\#\s]*without[\#\s]*even[\#\s]*the[\#\s]*implied[\#\s]*warranty[\#\s]*of[\#\s]*MERCHANTABILITY[\#\s]*or[\#\s]*FITNESS[\#\s]*FOR[\#\s]*A[\#\s]*PARTICULAR[\#\s]*PURPOSE.[\#\s]*See[\#\s]*the[\#\s]*GNU[\#\s]*General[\#\s]*Public[\#\s]*License[\#\s]*for[\#\s]*more[\#\s]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
Change-Id: I1008a63b804f355a916221ac994701d7584f60ff
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41177
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-08 20:48:04 +02:00
|
|
|
## SPDX-License-Identifier: GPL-2.0-only
|
2017-07-31 19:52:58 +02:00
|
|
|
|
2017-08-03 17:25:43 +02:00
|
|
|
test-help help::
|
|
|
|
@echo '*** coreboot test targets ***'
|
2022-11-13 05:40:04 +01:00
|
|
|
@echo ' what-jenkins-does - Run platform build tests with junit output'
|
|
|
|
@echo ' Skip tests by setting env vars JENKINS_SKIP_x_TESTS'
|
|
|
|
@echo ' to 'y' where x is: CLANG, GCC, LINT, TOOL, or UNIT'
|
|
|
|
@echo ' lint / lint-stable - Run coreboot lint tools (all / minimal)'
|
|
|
|
@echo ' test-basic - Run standard build tests. All expected to pass.'
|
|
|
|
@echo ' test-lint - Basic: Run stable and extended lint tests.'
|
|
|
|
@echo ' test-tools - Basic: Tests a basic list of tools.'
|
|
|
|
@echo ' test-abuild - Basic: Builds all platforms'
|
|
|
|
@echo ' test-payloads - Basic: Builds internal payloads'
|
|
|
|
@echo ' test-cleanup - Basic: Cleans coreboot directories'
|
2021-05-17 12:22:48 +02:00
|
|
|
@echo
|
2017-08-03 17:25:43 +02:00
|
|
|
|
|
|
|
# junit.xml is a helper target to wrap builds that don't create junit.xml output
|
2018-05-20 01:51:20 +02:00
|
|
|
# BLD = The name of the build
|
2017-08-03 17:25:43 +02:00
|
|
|
# BLD_DIR = Top path from coreboot to the build subdirectory
|
|
|
|
# MAKETARGET = target to build
|
2017-07-31 19:52:58 +02:00
|
|
|
junit.xml:
|
|
|
|
echo "Building $(BLD)"
|
|
|
|
echo '<?xml version="1.0" encoding="utf-8"?><testsuite>' > $@.tmp
|
|
|
|
echo "<testcase classname='$(BLD)' name='$(BLD)'>" >> $@.tmp
|
2018-05-20 01:51:20 +02:00
|
|
|
-if [ -z "$(BLD_DIR)" ]; then \
|
|
|
|
projdir=""; \
|
|
|
|
xmlfile=junit_$(BLD).xml; \
|
|
|
|
else \
|
|
|
|
projdir="-C $(BLD_DIR)"; \
|
|
|
|
xmlfile="$(BLD_DIR)/$@"; \
|
|
|
|
fi; \
|
|
|
|
if [ -z "$(SKIP_DISTCLEAN)" ]; then \
|
|
|
|
$(MAKE) -j $(CPUS) $$projdir clean distclean > $@.tmp.2 2>&1 ; \
|
|
|
|
fi; \
|
|
|
|
if $(MAKE) -j $(CPUS) $$projdir $(MAKETARGET) >> $@.tmp.2 2>&1; then \
|
|
|
|
type="system-out"; \
|
|
|
|
echo "<$$type>" >> $@.tmp; \
|
|
|
|
echo "Building $(BLD) Succeeded"; \
|
|
|
|
else \
|
|
|
|
type="failure"; \
|
|
|
|
echo "<failure type='buildFailed'>" >> $@.tmp; \
|
|
|
|
echo "Building $(BLD) Failed"; \
|
|
|
|
fi; \
|
|
|
|
cat $@.tmp.2; \
|
|
|
|
echo '<![CDATA[' >> $@.tmp; \
|
|
|
|
cat $@.tmp.2 >> $@.tmp; \
|
|
|
|
echo "]]></$$type>" >>$@.tmp; \
|
|
|
|
rm -f $@.tmp.2; \
|
|
|
|
echo "</testcase>" >> $@.tmp; \
|
|
|
|
echo "</testsuite>" >> $@.tmp; \
|
|
|
|
mv $@.tmp "$$xmlfile"
|
2017-07-31 19:52:58 +02:00
|
|
|
echo
|
|
|
|
|
|
|
|
TOOLLIST= \
|
2020-11-11 10:50:49 +01:00
|
|
|
amdfwtool \
|
2022-02-26 02:12:02 +01:00
|
|
|
cbfstool \
|
2017-08-03 17:25:43 +02:00
|
|
|
cbmem \
|
|
|
|
ectool \
|
|
|
|
futility \
|
2021-11-25 10:31:10 +01:00
|
|
|
ifdtool \
|
2020-11-11 10:50:49 +01:00
|
|
|
intelmetool \
|
2017-08-03 17:25:43 +02:00
|
|
|
inteltool \
|
|
|
|
intelvbttool \
|
|
|
|
nvramtool \
|
2020-11-11 10:50:49 +01:00
|
|
|
post \
|
2020-02-12 22:59:40 +01:00
|
|
|
superiotool
|
2017-08-03 17:25:43 +02:00
|
|
|
|
|
|
|
TEST_PAYLOADLIST_INTERNAL= \
|
|
|
|
coreinfo \
|
|
|
|
nvramcui
|
|
|
|
|
2017-07-31 19:52:58 +02:00
|
|
|
JENKINS_PAYLOAD?=none
|
2017-08-03 17:25:43 +02:00
|
|
|
TEST_PAYLOAD?=$(JENKINS_PAYLOAD)
|
2017-07-31 19:52:58 +02:00
|
|
|
CPUS?=4
|
2017-08-03 17:25:43 +02:00
|
|
|
|
2016-08-30 17:39:48 +02:00
|
|
|
lint lint-stable lint-extended:
|
2017-08-03 17:25:43 +02:00
|
|
|
util/lint/lint $@
|
|
|
|
|
2022-11-23 20:19:29 +01:00
|
|
|
ABUILD_OPTIONS=--blobs --junit --cpus $(CPUS) --payloads $(JENKINS_PAYLOAD)
|
2022-11-19 23:59:27 +01:00
|
|
|
ABUILD_OPTIONS+=$(if $(V),--verbose,)
|
2019-07-25 12:34:43 +02:00
|
|
|
ABUILD_OPTIONS+=$(JENKINS_ABUILD_OPT)
|
2019-07-25 12:24:32 +02:00
|
|
|
|
2023-08-20 19:19:27 +02:00
|
|
|
CCACHE_OPTIONS=$(if $(JENKINS_NOCCACHE),,--ccache)
|
|
|
|
|
2019-08-26 17:45:52 +02:00
|
|
|
COREBOOT_BUILD_DIR?=coreboot-builds
|
|
|
|
|
2022-11-13 17:42:09 +01:00
|
|
|
validate_sec_tools:
|
2021-09-09 13:42:29 +02:00
|
|
|
if [ ! -f 3rdparty/intel-sec-tools/go.mod ]; then \
|
|
|
|
echo "Please download 3rdparty/intel-sec-tools/:"; \
|
|
|
|
echo "git submodule update --init 3rdparty/intel-sec-tools"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
2022-11-13 17:42:09 +01:00
|
|
|
|
2022-11-19 23:49:39 +01:00
|
|
|
what-jenkins-does: test-cleanup validate_sec_tools
|
2022-11-19 23:53:11 +01:00
|
|
|
ifneq ($(JENKINS_SKIP_LINT_TESTS),y)
|
|
|
|
JUNIT=--junit $(MAKE) test-lint
|
2022-11-13 17:42:09 +01:00
|
|
|
endif
|
2021-06-17 13:01:58 +02:00
|
|
|
cd 3rdparty/intel-sec-tools/ ; go mod vendor
|
Add SBOM (Software Bill of Materials) Generation
Firmware is typically delivered as one large binary image that gets
flashed. Since this final image consists of binaries and data from
a vast number of different people and companies, it's hard to
determine what all the small parts included in it are. The goal of
the software bill of materials (SBOM) is to take a firmware image
and make it easy to find out what it consists of and where those
pieces came from. Basically, this answers the question, who supplied
the code that's running on my system right now? For example, buyers
of a system can use an SBOM to perform an automated vulnerability
check or license analysis, both of which can be used to evaluate
risk in a product. Furthermore, one can quickly check to see if the
firmware is subject to a new vulnerability included in one of the
software parts (with the specified version) of the firmware.
Further reference:
https://web.archive.org/web/20220310104905/https://blogs.gnome.org/hughsie/2022/03/10/firmware-software-bill-of-materials/
- Add Makefile.inc to generate and build coswid tags
- Add templates for most payloads, coreboot, intel-microcode,
amd-microcode. intel FSP-S/M/T, EC, BIOS_ACM, SINIT_ACM,
intel ME and compiler (gcc,clang,other)
- Add Kconfig entries to optionally supply a path to CoSWID tags
instead of using the default CoSWID tags
- Add CBFS entry called SBOM to each build via Makefile.inc
- Add goswid utility tool to generate SBOM data
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: Icb7481d4903f95d200eddbfed7728fbec51819d0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63639
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
2022-04-14 14:54:16 +02:00
|
|
|
cd util/goswid ; go mod vendor
|
2022-11-19 23:55:45 +01:00
|
|
|
$(MAKE) test-abuild
|
2022-11-13 05:40:04 +01:00
|
|
|
ifneq ($(JENKINS_SKIP_TOOL_TESTS),y)
|
2022-11-20 00:34:04 +01:00
|
|
|
$(MAKE) test-tools
|
2022-11-13 05:40:04 +01:00
|
|
|
endif
|
|
|
|
ifneq ($(JENKINS_SKIP_UNIT_TESTS),y)
|
2022-09-06 10:42:16 +02:00
|
|
|
+$(MAKE) junit.xml-unit-tests COV=1
|
|
|
|
+(cd payloads/libpayload; unset COREBOOT_BUILD_DIR; $(MAKE) junit.xml-unit-tests COV=1)
|
|
|
|
+(cd payloads/libpayload; unset COREBOOT_BUILD_DIR; $(MAKE) coverage-report COV=1)
|
|
|
|
+$(MAKE) coverage-report JUNIT_OUTPUT=y COV=1
|
2021-12-07 17:52:41 +01:00
|
|
|
find . -name 'tests.info' -exec cat {} + >$(COREBOOT_BUILD_DIR)/coverage.info
|
2022-11-13 05:40:04 +01:00
|
|
|
endif
|
2017-08-03 17:25:43 +02:00
|
|
|
|
|
|
|
test-basic: test-lint test-tools test-abuild test-payloads test-cleanup
|
|
|
|
|
|
|
|
test-lint:
|
2022-11-19 23:53:11 +01:00
|
|
|
util/lint/lint lint-stable $(JUNIT)
|
|
|
|
util/lint/lint lint-extended $(JUNIT)
|
2017-08-03 17:25:43 +02:00
|
|
|
|
|
|
|
test-abuild:
|
2023-02-06 18:12:29 +01:00
|
|
|
ifneq ($(JENKINS_SKIP_SCANBUILD_TEST),y)
|
2022-11-20 00:41:18 +01:00
|
|
|
NAME=scanbuild; SCANBUILD_ARGS='-k -plist-html -maxloop 10' util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) -scan-build --target EMULATION_QEMU_X86_Q35 --exitcode --name $${NAME}
|
2023-02-06 18:12:29 +01:00
|
|
|
endif
|
2022-11-13 05:40:04 +01:00
|
|
|
ifneq ($(JENKINS_SKIP_GCC_TESTS),y)
|
2023-08-20 19:19:27 +02:00
|
|
|
NAME=gcc-chromeos; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) $(CCACHE_OPTIONS) -x --name $${NAME} --clean
|
|
|
|
NAME=gcc; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) $(CCACHE_OPTIONS) --name $${NAME} --clean-somewhat
|
2022-11-13 05:40:04 +01:00
|
|
|
endif
|
|
|
|
ifneq ($(JENKINS_SKIP_CLANG_TESTS),y)
|
2023-08-20 19:19:27 +02:00
|
|
|
NAME=clang-chromeos; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) $(CCACHE_OPTIONS) -L -x --name $${NAME} --clean
|
|
|
|
NAME=clang; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) $(CCACHE_OPTIONS) -L --name $${NAME} --clean
|
2022-11-13 05:40:04 +01:00
|
|
|
endif
|
2017-08-03 17:25:43 +02:00
|
|
|
|
|
|
|
test-payloads:
|
|
|
|
$(MAKE) -C payloads/libpayload test-configs -j $(CPUS) V=$(V) Q=$(Q) MFLAGS= MAKEFLAGS= $(if $(TEST_NOCCACHE),,CONFIG_LP_CCACHE=y)
|
|
|
|
export MFLAGS=;export MAKEFLAGS=; \
|
|
|
|
$(foreach payload, $(TEST_PAYLOADLIST_INTERNAL), \
|
|
|
|
echo "*** Making payload $(payload) ***"; \
|
|
|
|
$(MAKE) -C payloads/$(payload) distclean ;\
|
|
|
|
$(MAKE) $(payload) -j $(CPUS) V=$(V) Q=$(Q)\
|
|
|
|
|| exit 1; )
|
|
|
|
|
|
|
|
test-tools:
|
|
|
|
@echo "Build testing $(TOOLLIST)"
|
2022-11-20 00:34:04 +01:00
|
|
|
$(foreach tool, $(TOOLLIST), echo "Building $(tool)";$(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR="util/$(tool)" BLD="$(tool)" MFLAGS= MAKEFLAGS= MAKETARGET= junit.xml; )
|
|
|
|
unset COREBOOT_BUILD_DIR;$(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=payloads/nvramcui BLD=nvramcui MFLAGS= MAKEFLAGS= MAKETARGET=all junit.xml
|
|
|
|
unset COREBOOT_BUILD_DIR;$(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=payloads/coreinfo BLD=coreinfo MFLAGS= MAKEFLAGS= MAKETARGET=defaultbuild junit.xml
|
|
|
|
(cd payloads/libpayload; unset COREBOOT_BUILD_DIR; $(MAKE) $(if $(JENKINS_NOCCACHE),,CONFIG_LP_CCACHE=y) V=$(V) Q=$(Q) junit.xml)
|
2022-12-20 01:15:59 +01:00
|
|
|
echo "The tegra builds need to be fixed. Disabled until someone fixes them."
|
2022-11-20 00:34:04 +01:00
|
|
|
# The tegra targets don't use the standard build system, so we need to provide an xcompile to them.
|
2022-12-20 01:15:59 +01:00
|
|
|
# $(MAKE) xcompile=$(COREBOOT_BUILD_DIR)/xcompile $(COREBOOT_BUILD_DIR)/xcompile
|
|
|
|
# $(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=src/soc/nvidia/tegra124/lp0 BLD=tegra124_lp0 MFLAGS= MAKEFLAGS=xcompile=$(COREBOOT_BUILD_DIR)/xcompile MAKETARGET=all junit.xml
|
|
|
|
# $(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=src/soc/nvidia/tegra210/lp0 BLD=tegra120_lp0 MFLAGS= MAKEFLAGS=xcompile=$(COREBOOT_BUILD_DIR)/xcompile MAKETARGET=all junit.xml
|
|
|
|
#
|
|
|
|
echo "The gitconfig tests are flaky and are disabled until someone fixes them."
|
|
|
|
# @echo "Running gitconfig tests"
|
|
|
|
# @for test in $$(find util/gitconfig/test -maxdepth 1 \
|
|
|
|
# -type f -executable); do \
|
|
|
|
# echo "$${test}"; \
|
|
|
|
# "$${test}" || exit $${?}; \
|
|
|
|
# done
|
2017-08-03 17:25:43 +02:00
|
|
|
|
|
|
|
test-cleanup:
|
2022-11-19 23:49:39 +01:00
|
|
|
rm -rf $(COREBOOT_BUILD_DIR)/chromeos $(COREBOOT_BUILD_DIR)/default
|
|
|
|
rm -rf $(COREBOOT_BUILD_DIR)/chromeos-clang $(COREBOOT_BUILD_DIR)/default-clang
|
2022-11-20 00:41:18 +01:00
|
|
|
rm -rf $(COREBOOT_BUILD_DIR)/scanbuild
|
2017-08-03 17:25:43 +02:00
|
|
|
$(MAKE) clean
|
|
|
|
$(foreach tool, $(TOOLLIST), $(MAKE) -C util/$(tool) clean ; )
|
2022-11-19 23:49:39 +01:00
|
|
|
$(MAKE) -C src/soc/nvidia/tegra124/lp0 clean
|
|
|
|
$(MAKE) -C src/soc/nvidia/tegra210/lp0 clean
|
2017-08-03 17:25:43 +02:00
|
|
|
|
|
|
|
.PHONY: test-basic test-lint test-abuild test-payloads
|
|
|
|
.PHONY: test-tools test-cleanup test-help
|
|
|
|
.PHONY: lint lint-stable what-jenkins-does
|