public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH/committed] sim: build: clean more generated outputs
Date: Mon,  8 Jan 2024 20:38:36 -0500	[thread overview]
Message-ID: <20240109013836.32614-1-vapier@gentoo.org> (raw)

---
 sim/Makefile.in     | 262 +++++++++++++++++++++++---------------------
 sim/cr16/local.mk   |   1 +
 sim/cris/local.mk   |   1 +
 sim/d10v/local.mk   |   1 +
 sim/frv/local.mk    |   1 +
 sim/iq2000/local.mk |   1 +
 sim/lm32/local.mk   |   1 +
 sim/m32r/local.mk   |   1 +
 sim/or1k/local.mk   |   1 +
 sim/sh/local.mk     |   2 +
 10 files changed, 147 insertions(+), 125 deletions(-)

diff --git a/sim/cr16/local.mk b/sim/cr16/local.mk
index 10533a467333..64aae5c1df17 100644
--- a/sim/cr16/local.mk
+++ b/sim/cr16/local.mk
@@ -74,4 +74,5 @@ BUILT_SOURCES += %D%/simops.h
 	$(AM_V_GEN)$< >$@
 
 EXTRA_PROGRAMS += %D%/gencode
+CLEANFILES += %D%/simops.h
 MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)
diff --git a/sim/cris/local.mk b/sim/cris/local.mk
index fe3f3c8d043c..b325940e634f 100644
--- a/sim/cris/local.mk
+++ b/sim/cris/local.mk
@@ -112,6 +112,7 @@ BUILT_SOURCES += \
 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop-v32f.cin %D%/mloopv32f.c
 	$(AM_V_at)touch $@
 
+CLEANFILES += %D%/engv10.h %D%/engv32.h
 MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)
 
 ## Target that triggers all cgen targets that works when --disable-cgen-maint.
diff --git a/sim/d10v/local.mk b/sim/d10v/local.mk
index a65635e81ede..fc60cb6c4b48 100644
--- a/sim/d10v/local.mk
+++ b/sim/d10v/local.mk
@@ -75,4 +75,5 @@ BUILT_SOURCES += %D%/simops.h
 	$(AM_V_GEN)$< >$@
 
 EXTRA_PROGRAMS += %D%/gencode
+CLEANFILES += %D%/simops.h
 MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)
diff --git a/sim/frv/local.mk b/sim/frv/local.mk
index 287633b4f4c9..6d6e9b4f9549 100644
--- a/sim/frv/local.mk
+++ b/sim/frv/local.mk
@@ -99,6 +99,7 @@ BUILT_SOURCES += %D%/eng.h
 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop.cin %D%/mloop.c
 	$(AM_V_at)touch $@
 
+CLEANFILES += %D%/eng.h
 MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)
 
 ## Target that triggers all cgen targets that works when --disable-cgen-maint.
diff --git a/sim/iq2000/local.mk b/sim/iq2000/local.mk
index 9ed30f3a9bcf..f69174623596 100644
--- a/sim/iq2000/local.mk
+++ b/sim/iq2000/local.mk
@@ -75,6 +75,7 @@ BUILT_SOURCES += %D%/eng.h
 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop.cin %D%/mloop.c
 	$(AM_V_at)touch $@
 
+CLEANFILES += %D%/eng.h
 MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)
 
 ## Target that triggers all cgen targets that works when --disable-cgen-maint.
diff --git a/sim/lm32/local.mk b/sim/lm32/local.mk
index 11c6b10ff0c5..7a5f9ee1fe72 100644
--- a/sim/lm32/local.mk
+++ b/sim/lm32/local.mk
@@ -80,6 +80,7 @@ BUILT_SOURCES += %D%/eng.h
 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop.cin %D%/mloop.c
 	$(AM_V_at)touch $@
 
+CLEANFILES += %D%/eng.h
 MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)
 
 ## Target that triggers all cgen targets that works when --disable-cgen-maint.
diff --git a/sim/m32r/local.mk b/sim/m32r/local.mk
index 3bec547cb253..bb9c84b2bb84 100644
--- a/sim/m32r/local.mk
+++ b/sim/m32r/local.mk
@@ -122,6 +122,7 @@ BUILT_SOURCES += \
 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop2.cin %D%/mloop2.c
 	$(AM_V_at)touch $@
 
+CLEANFILES += %D%/eng.h %D%/engx.h %D%/eng2.h
 MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)
 
 ## Target that triggers all cgen targets that works when --disable-cgen-maint.
diff --git a/sim/or1k/local.mk b/sim/or1k/local.mk
index 979e0e349043..e7e23befb6b3 100644
--- a/sim/or1k/local.mk
+++ b/sim/or1k/local.mk
@@ -82,6 +82,7 @@ BUILT_SOURCES += %D%/eng.h
 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop.cin %D%/mloop.c
 	$(AM_V_at)touch $@
 
+CLEANFILES += %D%/eng.h
 MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)
 
 ## Target that triggers all cgen targets that works when --disable-cgen-maint.
diff --git a/sim/sh/local.mk b/sim/sh/local.mk
index 6cbd3a7f1581..b1ccb54d1862 100644
--- a/sim/sh/local.mk
+++ b/sim/sh/local.mk
@@ -51,6 +51,8 @@ BUILT_SOURCES += \
 	%D%/ppi.c
 %C%_BUILD_OUTPUTS = \
 	%D%/gencode$(EXEEXT) \
+	%D%/code.c \
+	%D%/ppi.c \
 	%D%/table.c
 
 ## Generating modules.c requires all sources to scan.
-- 
2.43.0


                 reply	other threads:[~2024-01-09  1:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240109013836.32614-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).