This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Add configure.nat as a dependency of config.status
- From: Simon Marchi <simark at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 4 Jun 2018 14:41:05 -0000
- Subject: [binutils-gdb] Add configure.nat as a dependency of config.status
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=baf00c2d75351de7a42dae32aea3a71c8902cd25
commit baf00c2d75351de7a42dae32aea3a71c8902cd25
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Mon Jun 4 10:40:27 2018 -0400
Add configure.nat as a dependency of config.status
After pulling Alan's change that added aarch64-sve-linux-ptrace.o to
configure.nat, I got an undefined reference to aarch64_sve_get_vq when
doing a "make clean && make". It turns out that re-running configure
(./config.status --recheck) was needed to re-generate the Makefile with
aarch64-sve-linux-ptrace.o included in the object list. Putting
configure.nat in the dependencies of config.status would make sure that
when we modify configure.nat, the configure script is re-ran. I think
it also makes sense because configure.tgt and configure.host are also
there.
gdb/ChangeLog:
* Makefile.in (config.status): Add configure.nat as a
dependency.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/Makefile.in | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e2f3618..330dc18 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-06-04 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (config.status): Add configure.nat as a
+ dependency.
+
2018-06-04 Tom Tromey <tom@tromey.com>
* cp-name-parser.y (cpname_state): Add method declarations.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index a0e5b7e..354a636 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2068,7 +2068,7 @@ stamp-h: $(srcdir)/config.in config.status
CONFIG_LINKS= \
$(SHELL) config.status
-config.status: $(srcdir)/configure configure.tgt configure.host ../bfd/development.sh
+config.status: $(srcdir)/configure configure.nat configure.tgt configure.host ../bfd/development.sh
$(SHELL) config.status --recheck
ACLOCAL = aclocal