public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: build: drop support for subdir distclean
@ 2022-12-25 19:25 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2022-12-25 19:25 UTC (permalink / raw)
  To: gdb-patches

All ports that need to clean things up at distclean time have moved
to the top-level build, so we can drop support for this hook.
---
 sim/common/Make-common.in | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 7b1caa0781f1..1e1ea0e7a202 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -102,8 +102,6 @@ SIM_EXTRA_LIBS =
 SIM_RUN_OBJS = nrun.o
 # Dependency of `clean' to clean any extra files.
 SIM_EXTRA_CLEAN =
-# Likewise `distclean'
-SIM_EXTRA_DISTCLEAN =
 
 # Every time a new general purpose source file was added every target's
 # Makefile.in needed to be updated to include the file in SIM_OBJS.
@@ -276,9 +274,8 @@ mostlyclean clean: $(SIM_EXTRA_CLEAN)
 		modules.c stamp-modules \
 		tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c
 
-distclean maintainer-clean realclean: clean $(SIM_EXTRA_DISTCLEAN)
-	rm -f TAGS
-	rm -f Makefile config.cache config.log config.status
+distclean maintainer-clean realclean: clean
+	rm -f TAGS Makefile
 
 .c.o:
 	$(COMPILE) $<
-- 
2.39.0


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

only message in thread, other threads:[~2022-12-25 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-25 19:25 [PATCH] sim: build: drop support for subdir distclean 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).