summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-06-05 09:04:51 -0600
committerTom Tromey <tom@tromey.com>2021-06-05 09:04:51 -0600
commit19d6d783e1f76027fa9dc1f14658a157f582334a (patch)
treee6093c41395a0ceeefe7b734e62f0e0a1c0e7ef0 /gdb
parentb316465fab75c1fa1ae2ace63dc2005f65722307 (diff)
downloadbinutils-gdb-19d6d783e1f76027fa9dc1f14658a157f582334a.tar.gz
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/data-directory/Makefile.in2
2 files changed, 5 insertions, 1 deletions
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