]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config-ml.in: Don't hardcode the Makefile name.
authorThiemo Seufer <ths@mips.com>
Mon, 19 Nov 2007 12:59:49 +0000 (12:59 +0000)
committerThiemo Seufer <ths@gcc.gnu.org>
Mon, 19 Nov 2007 12:59:49 +0000 (12:59 +0000)
From-SVN: r130291

ChangeLog
config-ml.in

index 17eb2776d3970d1ffe50570a77b2b6c7cfd514f1..25563b4ce8e636c66a18613cb80589ebe8e774f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-19  Thiemo Seufer  <ths@mips.com>
+
+       * config-ml.in: Don't hardcode the Makefile name.
+
 2007-11-08  Alexander Monakov  <amonakov@ispras.ru>
 
        * MAINTAINERS (Write After Approval): Add myself.
index cc9cf66cebcd207520a699f9b6c79a68beeead01..d4d2e3fddcae17c489c86a90d1a9ccc013a92250 100644 (file)
@@ -586,8 +586,8 @@ multi-clean:
          true; \
        else \
          lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
-         for dir in Makefile $(MULTIDIRS); do \
-           if [ -f ../$${dir}/$${lib}/Makefile ]; then \
+         for dir in ${Makefile} $(MULTIDIRS); do \
+           if [ -f ../$${dir}/$${lib}/${Makefile} ]; then \
              if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) $(DO)); \
              then true; \
              else exit 1; \
@@ -605,7 +605,7 @@ mv Makefile.tem ${Makefile}
 fi # ${ml_toplevel_p} = yes
 
 if [ "${ml_verbose}" = --verbose ]; then
-  echo "Adding multilib support to Makefile in ${ml_realsrcdir}"
+  echo "Adding multilib support to ${Makefile} in ${ml_realsrcdir}"
   if [ "${ml_toplevel_p}" = yes ]; then
     echo "multidirs=${multidirs}"
   fi
@@ -740,7 +740,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
       fi
       (cd ${ml_dir}/${ml_libdir};
        ../${dotdot}${ml_unsubdir}symlink-tree ../${dotdot}${ml_unsubdir}${ml_libdir} "")
-      if [ -f ${ml_dir}/${ml_libdir}/Makefile ]; then
+      if [ -f ${ml_dir}/${ml_libdir}/${Makefile} ]; then
        if [ x"${MAKE}" = x ]; then
          (cd ${ml_dir}/${ml_libdir}; make distclean)
        else