Message ID | 20220204204335.1689602-4-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | testing and plugins pre-PR | expand |
On 4/2/22 21:43, Alex Bennée wrote: > 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(-) Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
On 2/5/22 07:43, Alex Bennée wrote: > 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(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
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 {} +
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(-)