[tip: objtool/core] objtool: Remove libsubcmd.a when make clean

From: tip-bot2 for Tiezhu Yang
Date: Tue May 17 2022 - 18:22:18 EST


The following commit has been merged into the objtool/core branch of tip:

Commit-ID: 4bc78005887f6fca60b624822943708652fda01a
Gitweb: https://git.kernel.org/tip/4bc78005887f6fca60b624822943708652fda01a
Author: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
AuthorDate: Wed, 11 May 2022 16:37:50 +08:00
Committer: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
CommitterDate: Thu, 12 May 2022 07:28:35 -07:00

objtool: Remove libsubcmd.a when make clean

The file libsubcmd.a still exists after make clean, remove it.

Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Link: https://lore.kernel.org/r/1652258270-6278-3-git-send-email-yangtiezhu@xxxxxxxxxxx
---
tools/objtool/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
index 8a90763..e66d717 100644
--- a/tools/objtool/Makefile
+++ b/tools/objtool/Makefile
@@ -63,7 +63,7 @@ $(LIBSUBCMD): fixdep FORCE
clean:
$(call QUIET_CLEAN, objtool) $(RM) $(OBJTOOL)
$(Q)find $(OUTPUT) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete
- $(Q)$(RM) $(OUTPUT)arch/x86/lib/inat-tables.c $(OUTPUT)fixdep
+ $(Q)$(RM) $(OUTPUT)arch/x86/lib/inat-tables.c $(OUTPUT)fixdep $(LIBSUBCMD)

FORCE: