Skip to content

Commit

Permalink
* config-ml.in: Don't hardcode the Makefile name.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130291 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
ths committed Nov 19, 2007
1 parent 73b0c6f commit da01ad1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 4 additions & 4 deletions config-ml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit da01ad1

Please sign in to comment.