diff options
author | Thiemo Seufer <ths@mips.com> | 2007-11-19 12:59:49 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@gcc.gnu.org> | 2007-11-19 12:59:49 +0000 |
commit | 60f1711a6d52865b59bc5320d3d0595bf398db12 (patch) | |
tree | d7d9ba89a7f725ccdcd292f9948cde505f2b5d21 /config-ml.in | |
parent | 56aa7240a13f6b4e2cd36a87726f11523929d241 (diff) | |
download | gcc-60f1711a6d52865b59bc5320d3d0595bf398db12.zip gcc-60f1711a6d52865b59bc5320d3d0595bf398db12.tar.gz gcc-60f1711a6d52865b59bc5320d3d0595bf398db12.tar.bz2 |
* config-ml.in: Don't hardcode the Makefile name.
From-SVN: r130291
Diffstat (limited to 'config-ml.in')
-rw-r--r-- | config-ml.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config-ml.in b/config-ml.in index cc9cf66..d4d2e3f 100644 --- a/config-ml.in +++ b/config-ml.in @@ -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 |