[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 03/25] Makefile: also remove .gcno files when cleaning
From: |
Alex Bennée |
Subject: |
[PATCH v2 03/25] Makefile: also remove .gcno files when cleaning |
Date: |
Tue, 1 Feb 2022 18:20:28 +0000 |
Left over .gcno files from old builds can really confuse gcov and the
user expects a clean slate after "make clean". Make clean mean clean.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220124201608.604599-4-alex.bennee@linaro.org>
---
v2
- fix whitespace damage
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index db9a788601..e5fd1ebdf6 100644
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,8 @@ recurse-clean: $(addsuffix /clean, $(ROM_DIRS))
clean: recurse-clean
-$(quiet-@)test -f build.ninja && $(NINJA) $(NINJAFLAGS) -t clean || :
-$(quiet-@)test -f build.ninja && $(NINJA) $(NINJAFLAGS) clean-ctlist
|| :
- find . \( -name '*.so' -o -name '*.dll' -o -name '*.[oda]' \) -type f \
+ find . \( -name '*.so' -o -name '*.dll' -o \
+ -name '*.[oda]' -o -name '*.gcno' \) -type f \
! -path ./roms/edk2/ArmPkg/Library/GccLto/liblto-aarch64.a \
! -path ./roms/edk2/ArmPkg/Library/GccLto/liblto-arm.a \
-exec rm {} +
--
2.30.2
- [PATCH v2 00/25] testing and plugin updates, Alex Bennée, 2022/02/01
- [PATCH v2 04/25] .gitignore: add .gcov pattern, Alex Bennée, 2022/02/01
- [PATCH v2 01/25] tests/Makefile.include: clean-up old code, Alex Bennée, 2022/02/01
- [PATCH v2 06/25] gitmodules: Correct libvirt-ci submodule URL, Alex Bennée, 2022/02/01
- [PATCH v2 03/25] Makefile: also remove .gcno files when cleaning,
Alex Bennée <=
- [PATCH v2 02/25] tests/qtest: enable more vhost-user tests by default, Alex Bennée, 2022/02/01
- [PATCH v2 11/25] tests/lcitool: Install libibumad to cover RDMA on Debian based distros, Alex Bennée, 2022/02/01
- [PATCH v2 25/25] plugins: move reset of plugin data to tb_start, Alex Bennée, 2022/02/01
- [PATCH v2 08/25] drop libxml2 checks since libxml is not actually used (for parallels), Alex Bennée, 2022/02/01
- [PATCH v2 12/25] docs/devel: mention our .editorconfig, Alex Bennée, 2022/02/01
- [PATCH v2 09/25] tests/lcitool: Refresh submodule and remove libxml2, Alex Bennée, 2022/02/01
- [PATCH v2 16/25] docs: remove references to TCG tracing, Alex Bennée, 2022/02/01
- [PATCH v2 13/25] gitlab: fall back to commit hash in qemu-setup filename, Alex Bennée, 2022/02/01
- [PATCH v2 07/25] tests/lcitool: Include local qemu.yml when refreshing cirrus-ci files, Alex Bennée, 2022/02/01