[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/28] Makefile: also remove .gcno files when cleaning
From: |
Alex Bennée |
Subject: |
[PULL 03/28] Makefile: also remove .gcno files when cleaning |
Date: |
Wed, 9 Feb 2022 14:15:04 +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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220204204335.1689602-4-alex.bennee@linaro.org>
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
- [PULL 00/28] testing and plugin updates, Alex Bennée, 2022/02/09
- [PULL 22/28] contrib/plugins: add a drcov plugin, Alex Bennée, 2022/02/09
- [PULL 01/28] tests/Makefile.include: clean-up old code, Alex Bennée, 2022/02/09
- [PULL 24/28] tests/plugins: add instruction matching to libinsn.so, Alex Bennée, 2022/02/09
- [PULL 09/28] tests/lcitool: Refresh submodule and remove libxml2, Alex Bennée, 2022/02/09
- [PULL 14/28] tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too, Alex Bennée, 2022/02/09
- [PULL 23/28] tests/plugin: allow libinsn.so per-CPU counts, Alex Bennée, 2022/02/09
- [PULL 03/28] Makefile: also remove .gcno files when cleaning,
Alex Bennée <=
- [PULL 02/28] tests/qtest: enable more vhost-user tests by default, Alex Bennée, 2022/02/09
- [PULL 05/28] MAINTAINERS: Cover lcitool submodule with build test / automation, Alex Bennée, 2022/02/09
- [PULL 07/28] tests/lcitool: Include local qemu.yml when refreshing cirrus-ci files, Alex Bennée, 2022/02/09
- [PULL 04/28] .gitignore: add .gcov pattern, Alex Bennée, 2022/02/09
- [PULL 06/28] gitmodules: Correct libvirt-ci submodule URL, Alex Bennée, 2022/02/09
- [PULL 12/28] docs/devel: mention our .editorconfig, Alex Bennée, 2022/02/09
- [PULL 17/28] docs: remove references to TCG tracing, Alex Bennée, 2022/02/09
- [PULL 08/28] drop libxml2 checks since libxml is not actually used (for parallels), Alex Bennée, 2022/02/09
- [PULL 11/28] tests/lcitool: Install libibumad to cover RDMA on Debian based distros, Alex Bennée, 2022/02/09
- [PULL 10/28] tests: Manually remove libxml2 on MSYS2 runners, Alex Bennée, 2022/02/09