All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] module.mk: Remove build-in.a files as well during make clean
@ 2020-12-17  4:26 Viresh Kumar
  2020-12-17  9:18 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2020-12-17  4:26 UTC (permalink / raw)
  To: ltp

Remove build-in.a files as well during make clean and also add it to
.gitignore.

Reported-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 .gitignore           | 1 +
 include/mk/module.mk | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 769d4be8873e..199445292c52 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@ lib*.a
 .cache.mk
 *.dwo
 *.mod
+build-in.a
 
 /aclocal.m4
 autom4te.cache
diff --git a/include/mk/module.mk b/include/mk/module.mk
index 1b71a28b92a1..dad293276fb8 100644
--- a/include/mk/module.mk
+++ b/include/mk/module.mk
@@ -45,7 +45,7 @@ MAKE_TARGETS := $(filter-out %.ko, $(MAKE_TARGETS))
 MAKE_TARGETS += $(wildcard *.ko)
 endif
 
-CLEAN_TARGETS += .dep_modules *.mod
+CLEAN_TARGETS += .dep_modules *.mod build-in.a
 
 MODULE_SOURCES := $(patsubst %.ko,%.c,$(filter %.ko, $(MAKE_TARGETS)))
 
-- 
2.25.0.rc1.19.g042ed3e048af


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-17  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-17  4:26 [LTP] [PATCH] module.mk: Remove build-in.a files as well during make clean Viresh Kumar
2020-12-17  9:18 ` Cyril Hrubis
2020-12-17  9:20   ` Viresh Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.