From b50a658ac100edaef1d0a0f34e2586314f815f7b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 8 May 2021 12:34:03 -0400 Subject: [PATCH] sim: touch modules target 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 1c0e44f2c1d..4fb31af3b18 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2021-05-08 Mike Frysinger + + * Make-common.in (modules.c): Touch $@ at the end. + 2021-05-08 Mike Frysinger * 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. -- 2.30.2