From e023d6b9095073f0105243de862fd8d408d842d5 Mon Sep 17 00:00:00 2001 From: Eric Richter Date: Tue, 3 Sep 2019 16:48:16 -0500 Subject: [PATCH] hw/test: include -gcov binaries in clean target This patch fixes an oversight in the hw-clean make target that removes the .gcno object, but does not remove the -gcovr test binary. Therefore, the .gcno object is not recreated on a subsequent coverage-report build, which causes an error that fails the build. Signed-off-by: Eric Richter Signed-off-by: Oliver O'Halloran --- hw/test/Makefile.check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/test/Makefile.check b/hw/test/Makefile.check index 1681027a3106..f9f233c64f99 100644 --- a/hw/test/Makefile.check +++ b/hw/test/Makefile.check @@ -26,4 +26,4 @@ $(HW_TEST:%=%-gcov): %-gcov : %.c % clean: hw-clean hw-clean: - $(RM) -f hw/test/*.[od] $(HW_TEST) + $(RM) -f hw/test/*.[od] $(HW_TEST) $(HW_TEST:%=%-gcov)