From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH/committed] sim: touch modules target
Date: Sat, 8 May 2021 12:35:19 -0400 [thread overview]
Message-ID: <20210508163519.19783-1-vapier@gentoo.org> (raw)
If there are no updates to the file, touch the result so we don't
keep trying to regenerate it.
---
sim/common/ChangeLog | 4 ++++
sim/common/Make-common.in | 1 +
2 files changed, 5 insertions(+)
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 1c0e44f2c1de..4fb31af3b182 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-08 Mike Frysinger <vapier@gentoo.org>
+
+ * Make-common.in (modules.c): Touch $@ at the end.
+
2021-05-08 Mike Frysinger <vapier@gentoo.org>
* cgen-trace.c (sim_cgen_disassemble_insn): Change %x to PRIxTA.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 4edc54ca40e0..56b36b235721 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -481,6 +481,7 @@ modules.c: Makefile $(SIM_OBJS:.o=.c)
) >$@.tmp
$(SHELL) $(srcroot)/move-if-change $@.tmp $@
@rm -f $@.l-tmp $@.tmp
+ touch $@
# CGEN support.
--
2.31.1
next reply other threads:[~2021-05-08 16:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-08 16:35 Mike Frysinger [this message]
2021-05-08 20:49 ` Tom Tromey
2021-05-09 19:56 ` Mike Frysinger
2021-06-15 0:39 ` [PATCH] sim: switch modules.c & version.c to stamp files Mike Frysinger
2021-06-15 20:08 ` Tom Tromey
2021-06-15 21:01 ` Mike Frysinger
2021-06-15 21:07 ` [PATCH v2] " Mike Frysinger
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=20210508163519.19783-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).