2022-05-11 09:50:45

by Tiezhu Yang

[permalink] [raw]
Subject: [PATCH 0/2] objtool: Remove some files when make clean

Tiezhu Yang (2):
objtool: Remove inat-tables.c when make clean
objtool: Remove libsubcmd.a when make clean

tools/objtool/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
2.1.0



2022-05-11 09:59:54

by Tiezhu Yang

[permalink] [raw]
Subject: [PATCH 2/2] objtool: Remove libsubcmd.a when make clean

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

Signed-off-by: Tiezhu Yang <[email protected]>
---
tools/objtool/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
index 2fcc9a5..770c048 100644
--- a/tools/objtool/Makefile
+++ b/tools/objtool/Makefile
@@ -65,7 +65,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:

--
2.1.0


2022-05-14 03:05:04

by Josh Poimboeuf

[permalink] [raw]
Subject: Re: [PATCH 0/2] objtool: Remove some files when make clean

On Wed, May 11, 2022 at 04:37:48PM +0800, Tiezhu Yang wrote:
> Tiezhu Yang (2):
> objtool: Remove inat-tables.c when make clean
> objtool: Remove libsubcmd.a when make clean
>
> tools/objtool/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!

--
Josh

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

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 <[email protected]>
AuthorDate: Wed, 11 May 2022 16:37:50 +08:00
Committer: Josh Poimboeuf <[email protected]>
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 <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
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: