[binutils-gdb] Fix gdb/data-directory Makefile-regeneration rule
Tom Tromey
tromey@sourceware.org
Sat Jun 5 15:06:23 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=19d6d783e1f76027fa9dc1f14658a157f582334a
commit 19d6d783e1f76027fa9dc1f14658a157f582334a
Author: Tom Tromey <tom@tromey.com>
Date: Sat Jun 5 09:04:51 2021 -0600
Fix gdb/data-directory Makefile-regeneration rule
My recent changes to the gdb build removed a special case for
data-directory/Makefile, but neglected to update the rule in that
Makefile. This patch fixes the error by rewriting this rule.
gdb/ChangeLog
2021-06-05 Tom Tromey <tom@tromey.com>
* data-directory/Makefile.in (Makefile): Rewrite.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/data-directory/Makefile.in | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1a8e7255951..59e68118628 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-05 Tom Tromey <tom@tromey.com>
+
+ * data-directory/Makefile.in (Makefile): Rewrite.
+
2021-06-05 Tom Tromey <tromey@adacore.com>
* configure: Rebuild.
diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in
index 8b65790cdd9..e1f3cd21a6c 100644
--- a/gdb/data-directory/Makefile.in
+++ b/gdb/data-directory/Makefile.in
@@ -411,7 +411,7 @@ clean-info:
MAKEOVERRIDES=
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) && $(MAKE) data-directory/Makefile
+ cd .. && $(SHELL) ./config.status testsuite/Makefile
# Disable implicit make rules.
include $(srcdir)/../disable-implicit-rules.mk
More information about the Gdb-cvs
mailing list