diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 9b7886ce0674e..13e7d26e77f04 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -1151,3 +1151,6 @@ FORCE: .PHONY: archheaders endif # force_fixdep + +# Delete partially updated (corrupted) files on error +.DELETE_ON_ERROR: