aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-08 12:34:03 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-08 12:35:08 -0400
commitb50a658ac100edaef1d0a0f34e2586314f815f7b (patch)
tree469643bde8f8604d83260d587fe9a44b66649aa4 /sim/common
parent532497fe6f812363e46a8812db0238b94d08c492 (diff)
downloadgdb-b50a658ac100edaef1d0a0f34e2586314f815f7b.zip
gdb-b50a658ac100edaef1d0a0f34e2586314f815f7b.tar.gz
gdb-b50a658ac100edaef1d0a0f34e2586314f815f7b.tar.bz2
sim: touch modules target
If there are no updates to the file, touch the result so we don't keep trying to regenerate it.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/Make-common.in1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 1c0e44f..4fb31af 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
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.
2021-05-08 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 4edc54c..56b36b2 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.