2011-03-03 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Thu, 3 Mar 2011 04:16:33 +0000 (04:16 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 3 Mar 2011 04:16:33 +0000 (04:16 +0000)
* Makefile.in (configure-common): Remove.  Let Makefile
in dir common to rebuild itself.
(common/Makefile): Likewise.

gdb/ChangeLog
gdb/Makefile.in

index 9e2787fd27ae33f7b8bf7f726f115d5a549fd874..38a06bf75e469d0ff40a36894e816add6a6106aa 100644 (file)
@@ -1,3 +1,9 @@
+2011-03-03  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (configure-common): Remove.  Let Makefile
+       in dir common to rebuild itself.
+       (common/Makefile): Likewise.
+
 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
 
        * utils.c (parse_escape): Add i18n markup in error message.
index 8c13e531c46dcc35b238be392088f0172323b8fc..00d624f5dd891f140fedffbfd17ec5399dc6cb07 100644 (file)
@@ -1174,22 +1174,6 @@ all-lib: gnulib/Makefile
 $(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
        @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
 
-configure-common: 
-       @: $(MAKE); $(unstage)
-       @r=`${PWD_COMMAND}`; export r; \
-       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-        test ! -f common/Makefile || exit 0; \
-        $(SHELL) $(srcdir)/../mkinstalldirs common ; \
-        $(HOST_EXPORTS)  \
-        echo Configuring in common; \
-        cd "common" || exit 1; \
-        commondir="$$s/common"; \
-        srcdiroption="--srcdir=$${commondir}"; \
-       $(SHELL) $${commondir}/configure --enable-gdbserver=no \
-          $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
-          --target=${target_alias} $${srcdiroption}  \
-          || exit 1
-
 # Convenience rule to handle recursion.
 .PHONY: all-data-directory
 all-data-directory: data-directory/Makefile
@@ -1325,13 +1309,6 @@ data-directory/Makefile: data-directory/Makefile.in config.status @frags@
          CONFIG_LINKS= \
          $(SHELL) config.status
 
-common/Makefile: configure-common common/Makefile.in config.status @frags@
-        CONFIG_FILES="common/Makefile" \
-          CONFIG_COMMANDS="depfiles" \
-          CONFIG_HEADERS= \
-          CONFIG_LINKS= \
-          $(SHELL) config.status
-
 config.h: stamp-h ; @true
 stamp-h: $(srcdir)/config.in config.status
        CONFIG_HEADERS=config.h:config.in \