public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: common: merge multiple clean commands
@ 2021-10-31  5:20 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2021-10-31  5:20 UTC (permalink / raw)
  To: gdb-patches

This provides a minor speedup when cleaning in a multi-target build.
---
 sim/common/Make-common.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index ffcbc7e3c058..cdad4a53d4bc 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -513,12 +513,12 @@ TAGS: force
 		*.[ch] ../common/*.[ch]
 
 mostlyclean clean: $(SIM_EXTRA_CLEAN)
-	rm -f *.[oa] *~ core
-	rm -f run$(EXEEXT) libsim.a
-	rm -f hw-config.h stamp-hw
-	rm -f modules.c stamp-modules
-	rm -f gentmap targ-map.c targ-vals.h stamp-tvals
-	rm -f tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c
+	rm -f *.[oa] *~ core \
+		run$(EXEEXT) libsim.a \
+		hw-config.h stamp-hw \
+		modules.c stamp-modules \
+		gentmap targ-map.c targ-vals.h stamp-tvals \
+		tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c
 
 distclean maintainer-clean realclean: clean $(SIM_EXTRA_DISTCLEAN)
 	rm -f TAGS
-- 
2.33.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-31  5:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-31  5:20 [PATCH] sim: common: merge multiple clean commands Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).