Add config.h to generated_files for sim
authorTom Tromey <tromey@adacore.com>
Tue, 4 May 2021 14:37:13 +0000 (08:37 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 4 May 2021 19:19:33 +0000 (13:19 -0600)
I noticed that config.h isn't in 'generated_files' in the sim
subdirectories.  This causes it to sometimes be rebuilt too late.

2021-05-04  Tom Tromey  <tromey@adacore.com>

* Make-common.in (generated_files): Add config.h.

sim/common/ChangeLog
sim/common/Make-common.in

index 783449941b286620640f8fc4b4b2bcd1b0050c07..b2466c225a9443f2f6b538494e2f712c6013dbb7 100644 (file)
@@ -1,3 +1,7 @@
+2021-05-04  Tom Tromey  <tromey@adacore.com>
+
+       * Make-common.in (generated_files): Add config.h.
+
 2021-05-04  Mike Frysinger  <vapier@gentoo.org>
 
        * cgen-trace.c (sim_disasm_perror_memory): Use BFD_VMA_FMT and drop
index 0f87749050980a9bbbe7278b790b1c5081e80128..c92228bb929fc13982ed501564ff4da318c0f00b 100644 (file)
@@ -420,6 +420,7 @@ endif
 all_object_files = $(LIB_OBJS) $(SIM_RUN_OBJS)
 generated_files = \
        $(SIM_EXTRA_DEPS) \
+       config.h \
        hw-config.h \
        modules.c \
        targ-map.c \