[binutils-gdb] sim: touch modules target
Michael Frysinger
vapier@sourceware.org
Sat May 8 16:35:24 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b50a658ac100edaef1d0a0f34e2586314f815f7b
commit b50a658ac100edaef1d0a0f34e2586314f815f7b
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sat May 8 12:34:03 2021 -0400
sim: touch modules target
If there are no updates to the file, touch the result so we don't
keep trying to regenerate it.
Diff:
---
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 1c0e44f2c1d..4fb31af3b18 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 4edc54ca40e..56b36b23572 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.
More information about the Gdb-cvs
mailing list