aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-03-06 07:40:52 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-03-06 07:40:52 +0000
commite51411190f506bcea2809bf3416a3c16921fa7d8 (patch)
tree5a608fecf37fd032bb69bade588a6d359b84dfc1 /gdb
parentb27cf2b3df14c7ed3ac68c35f4575b53c51f9f4b (diff)
downloadgdb-e51411190f506bcea2809bf3416a3c16921fa7d8.zip
gdb-e51411190f506bcea2809bf3416a3c16921fa7d8.tar.gz
gdb-e51411190f506bcea2809bf3416a3c16921fa7d8.tar.bz2
gdbserver: configure + make clean fails (no 'common' subdir)
This problem was noticed during the nightly snapshot build, but can be reduced to: % /path/to/gdb/gdbserver/configure % make clean The "make clean" fails, because it tries to do a "make clean" in the common/ subdirectory. But the problem is that this common/ subdirectory is NOT created during the configure phase, but rather during the build phase. The error is fatal because we had put the common subdirectory in the list of REQUIRED_SUBDIRS. This fixes the problem by removing it from the REQUIRED_SUBDIRS list. gdb/gdbserver/ChangeLog: * Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR).
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/Makefile.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 7fa2e15..577a14b 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-06 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR).
+
2011-03-05 Yao Qi <yao@codesourcery.com>
* Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index 50d468e..81cf25a 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -137,7 +137,7 @@ LIBCOMMON = $(LIBCOMMON_DIR)/libcommon.a
LIBCOMMON_SRC = $(srcdir)/$(LIBCOMMON_DIR)
CLEANDIRS = $(LIBCOMMON_DIR)
-REQUIRED_SUBDIRS = $(LIBCOMMON_DIR)
+REQUIRED_SUBDIRS = no-required-subdir-yet
SOURCES = $(SFILES)
TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}