[binutils-gdb] Add config.h to generated_files for sim

Tom Tromey tromey@sourceware.org
Tue May 4 19:47:04 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=937a049c9508d6119b90ae48bba319681c845464

commit 937a049c9508d6119b90ae48bba319681c845464
Author: Tom Tromey <tromey@adacore.com>
Date:   Tue May 4 08:37:13 2021 -0600

    Add config.h to generated_files for sim
    
    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.

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 783449941b2..b2466c225a9 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -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
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 0f877490509..c92228bb929 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -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 \


More information about the Gdb-cvs mailing list