aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-01-17 13:40:10 -0500
committerSimon Marchi <simon.marchi@efficios.com>2020-01-17 13:40:21 -0500
commitc4d3fc1480320886b6388d7e7700541a0cbb7714 (patch)
treeb5aad1ac04b6474d95e082828f0e4caa8a0de8a0
parent07f1f3aa536add16b20f2792e1c325fb02b7da2d (diff)
downloadfsf-binutils-gdb-c4d3fc1480320886b6388d7e7700541a0cbb7714.zip
fsf-binutils-gdb-c4d3fc1480320886b6388d7e7700541a0cbb7714.tar.gz
fsf-binutils-gdb-c4d3fc1480320886b6388d7e7700541a0cbb7714.tar.bz2
Make all-gdbsupport depend on all-bfd
Trying to run "make all-gdbsupport" at the top-level in a build from scratch results in: make[2]: Entering directory '/home/smarchi/build/binutils-gdb/gdbsupport' CC agent.o In file included from /home/smarchi/src/binutils-gdb/gdbsupport/common-defs.h:133, from /home/smarchi/src/binutils-gdb/gdbsupport/agent.c:20: /home/smarchi/src/binutils-gdb/gdbsupport/common-types.h:35:10: fatal error: bfd.h: No such file or directory 35 | #include "bfd.h" | ^~~~~~~ Before building all-gdbsupport, we need all-bfd to run, so that bfd.h is generated. (Once this patch is merged in the binutils-gdb repo, I'll send it to gcc to keep the files in sync.) ChangeLog: * Makefile.def: Add dependencies of all-gdbsupport on all-bfd. * Makefile.in: Re-generate.
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.def1
-rw-r--r--Makefile.in1
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ebf3493..f97f962 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-17 Simon Marchi <simon.marchi@efficios.com>
+
+ * Makefile.def: Add dependencies of all-gdbsupport on all-bfd.
+ * Makefile.in: Re-generate.
+
2020-01-14 Tom Tromey <tom@tromey.com>
* src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport.
diff --git a/Makefile.def b/Makefile.def
index 079fd3e..253eb45 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -417,6 +417,7 @@ dependencies = { module=all-libgui; on=all-itcl; };
dependencies = { module=configure-gdbsupport; on=configure-bfd; };
dependencies = { module=configure-gdbsupport; on=configure-gnulib; };
+dependencies = { module=all-gdbsupport; on=all-bfd; };
dependencies = { module=all-gdbsupport; on=all-gnulib; };
// Host modules specific to binutils.
diff --git a/Makefile.in b/Makefile.in
index 3f6938a..af38671 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -51991,6 +51991,7 @@ all-gdb: maybe-all-opcodes
all-gdb: maybe-all-libdecnumber
all-gdb: maybe-all-libctf
configure-gdbsupport: maybe-configure-bfd
+all-gdbsupport: maybe-all-bfd
configure-gprof: maybe-configure-intl
all-gprof: maybe-all-libiberty
all-gprof: maybe-all-bfd